summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorot1 <andreas@maunz.de>2011-11-16 12:03:29 +0100
committerot1 <andreas@maunz.de>2011-11-16 12:03:29 +0100
commita8c3a245a4c88649bd024e73eac675854399f7c4 (patch)
tree05ee404ef047421b8cc60430e7c19758437b3998
parent68e5d55d80536bd995bc2c0b0fd233d7c43fda2d (diff)
Fixed delta for test_create_regression_model
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index 44452eb..5a20972 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), 1.095, 0.1
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