summaryrefslogtreecommitdiff
path: root/report/plot_factory.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-05-23 10:59:34 +0200
committermguetlein <martin.guetlein@gmail.com>2011-05-23 10:59:34 +0200
commit63389a0844313428899cbdb3d7cda4042fd0adc1 (patch)
tree846fbddfd8e7b3302852505e7ed8e290e0f38912 /report/plot_factory.rb
parent86a1d1e5fda994bc318100963b5fe7af3da24a53 (diff)
fix for plot-zoom feature
Diffstat (limited to 'report/plot_factory.rb')
-rw-r--r--report/plot_factory.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/report/plot_factory.rb b/report/plot_factory.rb
index 2a621f4..dfb1369 100644
--- a/report/plot_factory.rb
+++ b/report/plot_factory.rb
@@ -115,7 +115,9 @@ module Reports
LOGGER.warn "could not create ROC plot for "+value.to_s
end
end
- RubyPlot::plot_lines(out_file, "ROC-Plot", x_label, y_label, names, fp_rates, tp_rates )
+ out_files.each do |out_file|
+ RubyPlot::plot_lines(out_file, "ROC-Plot", x_label, y_label, names, fp_rates, tp_rates )
+ end
else
data = transform_roc_predictions(validation_set, class_value, show_single_curves)
labels = []