summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2019-06-27 14:08:57 +0000
committergebele <gebele@in-silico.ch>2019-06-27 14:08:57 +0000
commitb536a45cf18b070cec3f9cb8a44fdac0bfa3c58e (patch)
tree76d560ea806369c2fae84fbe40815d2d92e4f429 /lib
parent22ff252ddcb8da087b50fc23ee22a857eb202738 (diff)
fixed confidence value for cv stats; added tests
Diffstat (limited to 'lib')
-rw-r--r--lib/validation-statistics.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/validation-statistics.rb b/lib/validation-statistics.rb
index d603294..2dd9c7a 100644
--- a/lib/validation-statistics.rb
+++ b/lib/validation-statistics.rb
@@ -129,7 +129,7 @@ module OpenTox
predictions.each do |cid,pred|
!if pred[:value] and pred[:measurements] and !pred[:measurements].empty?
insert_prediction pred, :all
- if pred[:confidence].match(/High/i)
+ if pred[:confidence].match(/Similar/i)
insert_prediction pred, :confidence_high
elsif pred[:confidence].match(/Low/i)
insert_prediction pred, :confidence_low