From cd534f4e4ca570cd37b0f6f490b503a3610f04f4 Mon Sep 17 00:00:00 2001 From: davor Date: Mon, 27 Feb 2012 10:20:00 +0100 Subject: Adjusted parameter range. --- lazar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazar.rb b/lazar.rb index bf2baf0..8709b1f 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), 12.81, 0.1 + assert_in_delta @predictions.first.value(@compounds.first), 12.81, 0.3 assert_equal 0.531, @predictions.first.confidence(@compounds.first).round_to(3) assert_equal 91, @predictions.first.neighbors(@compounds.first).size cleanup -- cgit v1.2.3