summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-11-16 12:06:31 +0100
committerAndreas Maunz <andreas@maunz.de>2011-11-16 12:06:31 +0100
commitb11933936e95ca7de6610bd0f1275d32d6634fd7 (patch)
tree18b923b77e93b294d64e09cd23c9192a6b80105d
parent22b522fbf021431cf2f58724a0f4b432c454432f (diff)
New prediction value for branch numeric
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
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