From d5e8598ae8143737c7b6efeb8f68292cfc808de3 Mon Sep 17 00:00:00 2001 From: davor Date: Tue, 10 Jan 2012 08:30:49 +0100 Subject: Adjusted tests --- lazar.rb | 4 ++-- 1 file 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 -- cgit v1.2.3