From 0d4ad938a3e1e7da2aa77fe6a5e4ea919ec85f37 Mon Sep 17 00:00:00 2001 From: David Vorgrimmler Date: Tue, 20 Sep 2011 12:17:04 +0200 Subject: Changed prediction value. --- lazar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazar.rb b/lazar.rb index b241b5c..a46e2f2 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_equal 0.93.round_to(2), @predictions.first.value(@compounds.first).round_to(2) + assert_equal 1.09.round_to(2), @predictions.first.value(@compounds.first).round_to(2) 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