summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2012-01-10 08:30:49 +0100
committerdavor <vorgrimmlerdavid@gmx.de>2012-01-10 08:30:49 +0100
commitd5e8598ae8143737c7b6efeb8f68292cfc808de3 (patch)
treee8b9945d8ba4bcc3044b4f9ab6a291ae4e2cc411
parentf7418718fe98d0e79010142b74a8f3b1427b03e7 (diff)
Adjusted tests
-rw-r--r--lazar.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lazar.rb b/lazar.rb
index f9068e7..210433f 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -100,8 +100,8 @@ class LazarTest < Test::Unit::TestCase
def test_create_regression_prop_nr_hits_model
create_model :dataset_uri => @@regression_training_dataset.uri, :propositionalized => "true", :nr_hits => "false"
predict_compound OpenTox::Compound.from_smiles("c1ccccc1NN")
- assert_equal 0.478, @predictions.first.confidence(@compounds.first).round_to(3)
- assert_equal 123, @predictions.first.neighbors(@compounds.first).size
+ assert_equal 0.610, @predictions.first.confidence(@compounds.first).round_to(3)
+ assert_equal 253, @predictions.first.neighbors(@compounds.first).size
assert_equal 131, @model.features.size
cleanup
end