Program to create a svg_roc_plot output file by the input of true/false positive rate data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
old
README
Rakefile
VERSION
ruby-plot.gemspec
todo

README

README
svg_roc_plot.rb
Copyright 2010 vorgrimmler <dv(a_t)fdm.uni-freiburg.de>
This ruby program exports inputs data(from true-positive-rate and false-positive-rate files) to a *.svg file using gnuplot. Depending on the amount of input data is possible to create 1 to n curves in one plot. 
Gnuplot is needed. Please install befor using svg_roc_plot. "sudo apt-get install gnuplot" (on debian systems)

Usage: ruby svg_roc_plot.rb ([filename_1] [filename_2]) ... ([filename_1] [filenam_2])
 cmd=filename_1 : This should be the filename of the ture-positiv-rate data.
 cmd=filename_2 : This should be the filename of the false-positiv-rate data.
 Only pairs of input files are allowed but at least one.
 Each input file has to provide one float number from 0 to 100 per line.


svg_roc_plot_method.rb
Copyright 2010 vorgrimmler <dv(a_t)fdm.uni-freiburg.de>
This ruby method (svg_roc_plot) exports inputs data(from true-positive-rate and false-positive-rate arrays) to a *.svg file using gnuplot. Depending on the amount of input data is possible to create 1 to n curves in one plot.
Gnuplot is needed. Please install befor using svg_roc_plot. "sudo apt-get install gnuplot" (on debian systems).

Usage: svg_roc_plot (svg_path(?), title(string), x-lable(string), y-lable(sting), algorithms(array), true_pos_data1(array), false_pos_data1(array), ..., true_pos_data_n(array), false_pos_data_n(array))
Only pairs of data are allowed but at least one.
Each data array has to provide one float/int number from 0 to 100 per entry.