summaryrefslogtreecommitdiff
path: root/report/plot_factory.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2012-03-26 11:29:14 +0200
committermguetlein <martin.guetlein@gmail.com>2012-03-26 11:29:14 +0200
commit8a199a09a6d9ac8b0349af0d7c5b5320bdcec9b5 (patch)
tree3628e7cb4f705a4640bc03f8340c4acc13a73fd6 /report/plot_factory.rb
parentac9f3ee04f997fa14a88dd7b16a5a6d9ccb8b30e (diff)
add concordance correlation coefficient, adjust feature value plotting
Diffstat (limited to 'report/plot_factory.rb')
-rw-r--r--report/plot_factory.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/report/plot_factory.rb b/report/plot_factory.rb
index f114dd3..6e90dbc 100644
--- a/report/plot_factory.rb
+++ b/report/plot_factory.rb
@@ -4,7 +4,8 @@ ENV['RANK_PLOTTER_JAR'] = "RankPlotter/RankPlotter.jar" unless ENV['RANK_PLOTTER
CONF_PLOT_RANGE = { :accuracy => [0.45,1.05], :true_positive_rate => [0.45,1.05],:true_negative_rate => [0.45,1.05],
:false_positive_rate => [0.45,1.05], :false_negative_rate => [0.45,1.05], :positive_predictive_value => [0.45,1.05],
- :negative_predictive_value => [0.45,1.05], :r_square => [0, 1.05], :sample_correlation_coefficient => [0, 1.05] }
+ :negative_predictive_value => [0.45,1.05], :r_square => [0, 1.05], :sample_correlation_coefficient => [0, 1.05],
+ :concordance_correlation_coefficient => [0, 1.05] }
class Array
def swap!(i,j)
@@ -124,7 +125,7 @@ module Reports
else
Reports::r_util.feature_value_plot(out_files, validation_set.validations[0].training_feature_dataset_uri,
validation_set.validations[0].test_feature_dataset_uri, "Training Data", "Test Data",
- nil, true, validation_set.validations[0].subjectid, waiting_task )
+ nil, validation_set.validations[0].subjectid, waiting_task )
end
end