summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-04-14 14:35:15 +0200
committerChristoph Helma <helma@in-silico.ch>2011-04-14 14:35:15 +0200
commitf9b5ac3d7bd7c12bdabfe687398ebf8f6c1551a0 (patch)
treefee06f1c5d9991d91f5e09a710e0e95040a815cf
parent440ab8f00db31c22a91f849d8b17f728e0b8f7fa (diff)
nr of features in lazar model fixed
-rw-r--r--lazar.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lazar.rb b/lazar.rb
index 512a614..e2dd12a 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -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