diff options
author | mr <mr@mrautenberg.de> | 2011-09-23 12:22:40 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-09-23 12:22:40 +0200 |
commit | 41b1e72eba222a337efa70e61734b34118f832c6 (patch) | |
tree | 15645033d7cf516f9c19cc11ec9d16bbdba43327 /lib/validation_db.rb | |
parent | b076615734eb9a51a29e3dc01e0c96d86e5c75c9 (diff) | |
parent | 9db1f68871ad3e9be92744fd908f9fee9eeb18a0 (diff) |
Merge branch 'release/v3.0.0'v3.0.0
Diffstat (limited to 'lib/validation_db.rb')
-rwxr-xr-x | lib/validation_db.rb | 7 |
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 |