summaryrefslogtreecommitdiff
path: root/lib/validation_db.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/validation_db.rb')
-rwxr-xr-xlib/validation_db.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/validation_db.rb b/lib/validation_db.rb
index fb7a8b5..be004fb 100755
--- a/lib/validation_db.rb
+++ b/lib/validation_db.rb
@@ -18,19 +18,20 @@ module Validation
# :classification_statistics
VAL_CLASS_PROPS_SINGLE_SUM = [ :num_correct, :num_incorrect, :confusion_matrix ]
VAL_CLASS_PROPS_SINGLE_AVG = [ :percent_correct, :percent_incorrect,
- :weighted_area_under_roc, :accuracy, :weighted_accuracy ]
+ :average_area_under_roc, :accuracy, :weighted_accuracy ]
VAL_CLASS_PROPS_SINGLE = VAL_CLASS_PROPS_SINGLE_SUM + VAL_CLASS_PROPS_SINGLE_AVG
# :class_value_statistics
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 ] #: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