summaryrefslogtreecommitdiff
path: root/lib/validation_db.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/validation_db.rb')
-rwxr-xr-xlib/validation_db.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/validation_db.rb b/lib/validation_db.rb
index 9af43de..be004fb 100755
--- a/lib/validation_db.rb
+++ b/lib/validation_db.rb
@@ -25,12 +25,13 @@ module Validation
VAL_CLASS_PROPS_PER_CLASS_SUM = [ :num_false_positives, :num_false_negatives,
:num_true_positives, :num_true_negatives ]
VAL_CLASS_PROPS_PER_CLASS_AVG = [ :area_under_roc, :false_negative_rate, :false_positive_rate,
- :f_measure, :precision,
+ :f_measure, :positive_predictive_value, :negative_predictive_value,
:true_negative_rate, :true_positive_rate ] #:recall,
VAL_CLASS_PROPS_PER_CLASS = VAL_CLASS_PROPS_PER_CLASS_SUM + VAL_CLASS_PROPS_PER_CLASS_AVG
VAL_CLASS_PROPS_PER_CLASS_COMPLEMENT_EXISTS = [ :num_false_positives, :num_false_negatives,
:num_true_positives, :num_true_negatives, :false_negative_rate, :false_positive_rate,
- :true_negative_rate, :true_positive_rate, :area_under_roc ] #:precision, :recall,
+ :true_negative_rate, :true_positive_rate, :area_under_roc,
+ :positive_predictive_value, :negative_predictive_value ] #:precision, :recall,
VAL_CLASS_PROPS = VAL_CLASS_PROPS_SINGLE + VAL_CLASS_PROPS_PER_CLASS