summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vorgrimmler <vorgrimmlerdavid@gmx.de>2011-09-20 12:17:04 +0200
committerDavid Vorgrimmler <vorgrimmlerdavid@gmx.de>2011-09-20 12:17:04 +0200
commit0d4ad938a3e1e7da2aa77fe6a5e4ea919ec85f37 (patch)
treea9a6d177f806161e8714852a3773a7e7e840f4f4
parent6ae5229e5a6c7e94e82cf3a11f8d76b80f4a36ef (diff)
Changed prediction value.
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
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