From b11933936e95ca7de6610bd0f1275d32d6634fd7 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Wed, 16 Nov 2011 12:06:31 +0100 Subject: New prediction value for branch numeric --- lazar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazar.rb b/lazar.rb index 6cdca99..7df6a45 100644 --- a/lazar.rb +++ b/lazar.rb @@ -65,7 +65,7 @@ class LazarTest < Test::Unit::TestCase def test_create_regression_model create_model :dataset_uri => @@regression_training_dataset.uri predict_compound OpenTox::Compound.from_smiles("c1ccccc1NN") - assert_in_delta @predictions.first.value(@compounds.first), 1.095, 0.01 + assert_in_delta @predictions.first.value(@compounds.first), 0.55, 0.01 assert_equal 0.453.round_to(3), @predictions.first.confidence(@compounds.first).round_to(3) assert_equal 253, @predictions.first.neighbors(@compounds.first).size cleanup -- cgit v1.2.3