From 423c4b044d9e124fe52b9ed99fd42ca15e2fe35b Mon Sep 17 00:00:00 2001 From: davor Date: Wed, 15 Feb 2012 15:59:12 +0100 Subject: Updated result interval --- lazar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazar.rb b/lazar.rb index 4a77a82..9e4e15a 100644 --- a/lazar.rb +++ b/lazar.rb @@ -65,7 +65,7 @@ class LazarTest < Test::Unit::TestCase def test_create_regression_svm_pc_model create_model :dataset_uri => @@regression_training_dataset.uri, :feature_dataset_uri => @@regression_feature_dataset.uri, :pc_type => "constitutional" predict_compound OpenTox::Compound.from_smiles("c1ccccc1NN") - assert_in_delta @predictions.first.value(@compounds.first), 7.8, 0.1 + assert_in_delta @predictions.first.value(@compounds.first), 7.6, 0.3 assert_equal 0.603, @predictions.first.confidence(@compounds.first).round_to(3) assert_equal 74, @predictions.first.neighbors(@compounds.first).size cleanup -- cgit v1.2.3