diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-02-03 18:14:20 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-02-03 18:14:20 +0100 |
commit | aca886bf82e7ebf5a9d76642614418ed983ab45e (patch) | |
tree | bdd9b22fccfff637dddd0b10d4800a8e41fe8382 /lib/validation_db.rb | |
parent | 7906047a423d94692581ac6aa15295924c8b89db (diff) |
adding weighted_accuracy, change accuracy computation, some minor changes
Diffstat (limited to 'lib/validation_db.rb')
-rwxr-xr-x | lib/validation_db.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/validation_db.rb b/lib/validation_db.rb index 4b852f9..c4cb2a2 100755 --- a/lib/validation_db.rb +++ b/lib/validation_db.rb @@ -18,10 +18,9 @@ module Lib # :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_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 ] |