diff options
author | David Vorgrimmler <vorgrimmlerdavid@gmx.de> | 2011-09-20 12:17:04 +0200 |
---|---|---|
committer | David Vorgrimmler <vorgrimmlerdavid@gmx.de> | 2011-09-20 12:17:04 +0200 |
commit | 0d4ad938a3e1e7da2aa77fe6a5e4ea919ec85f37 (patch) | |
tree | a9a6d177f806161e8714852a3773a7e7e840f4f4 /lazar.rb | |
parent | 6ae5229e5a6c7e94e82cf3a11f8d76b80f4a36ef (diff) |
Changed prediction value.
Diffstat (limited to 'lazar.rb')
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |