diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-04-14 14:35:15 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-04-14 14:35:15 +0200 |
commit | f9b5ac3d7bd7c12bdabfe687398ebf8f6c1551a0 (patch) | |
tree | fee06f1c5d9991d91f5e09a710e0e95040a815cf | |
parent | 440ab8f00db31c22a91f849d8b17f728e0b8f7fa (diff) |
nr of features in lazar model fixed
-rw-r--r-- | lazar.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,7 +26,7 @@ class LazarTest < Test::Unit::TestCase model_uri = OpenTox::Algorithm::Lazar.new.run({:dataset_uri => @@regression_training_dataset.uri, :subjectid => @@subjectid}).to_s lazar = OpenTox::Model::Lazar.find model_uri, @@subjectid @models << lazar - assert_equal 1354, lazar.features.size + assert_equal 1356, lazar.features.size compound = OpenTox::Compound.from_smiles("c1ccccc1NN") prediction_uri = lazar.run(:compound_uri => compound.uri, :subjectid => @@subjectid).to_s prediction = OpenTox::LazarPrediction.find(prediction_uri, @@subjectid) @@ -112,7 +112,7 @@ class LazarTest < Test::Unit::TestCase # dataset prediction #@lazar.delete(@@subjectid) end - -end =begin =end + +end |