summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-05-19 10:04:41 +0200
committerAndreas Maunz <andreas@maunz.de>2011-05-19 10:04:41 +0200
commit4cb1a3e3329f3b4cdcc2488b047474d105ff5796 (patch)
treeae163ed767cb0030ca02b4710c57fcdb96480e77
parentea199e2a75e3ce5f9dab07f29d6f55fdef6b860d (diff)
Fixed regression expected values for nu=0.5
-rw-r--r--lazar.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lazar.rb b/lazar.rb
index de95efb..4a7a51a 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -31,8 +31,8 @@ class LazarTest < Test::Unit::TestCase
prediction_uri = lazar.run(:compound_uri => compound.uri, :subjectid => @@subjectid).to_s
prediction = OpenTox::LazarPrediction.find(prediction_uri, @@subjectid)
@predictions << prediction
- assert_equal prediction.value(compound).round_to(4), 0.3469.round_to(4)
- assert_equal prediction.confidence(compound).round_to(4), 0.3223.round_to(4)
+ assert_equal prediction.value(compound).round_to(3),0.2849.round_to(3)
+ assert_equal prediction.confidence(compound).round_to(3), 0.3223.round_to(3)
assert_equal prediction.neighbors(compound).size, 73
end