diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-05-19 10:04:41 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-05-19 10:04:41 +0200 |
commit | 4cb1a3e3329f3b4cdcc2488b047474d105ff5796 (patch) | |
tree | ae163ed767cb0030ca02b4710c57fcdb96480e77 /lazar.rb | |
parent | ea199e2a75e3ce5f9dab07f29d6f55fdef6b860d (diff) |
Fixed regression expected values for nu=0.5
Diffstat (limited to 'lazar.rb')
-rw-r--r-- | lazar.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |