diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-11-16 12:06:31 +0100 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-11-16 12:06:31 +0100 |
commit | b11933936e95ca7de6610bd0f1275d32d6634fd7 (patch) | |
tree | 18b923b77e93b294d64e09cd23c9192a6b80105d /lazar.rb | |
parent | 22b522fbf021431cf2f58724a0f4b432c454432f (diff) |
New prediction value for branch numeric
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_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 |