From d542e9fe92567c54423f39904111bd5293236416 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 26 Aug 2015 14:20:23 +0200 Subject: Parallel Crossvalidations --- lib/experiment.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/experiment.rb') diff --git a/lib/experiment.rb b/lib/experiment.rb index b3ed174..191e76e 100644 --- a/lib/experiment.rb +++ b/lib/experiment.rb @@ -54,12 +54,12 @@ module OpenTox end def report + # TODO create ggplot2 report crossvalidation_ids.each do |id| cv = CrossValidation.find(id) - file = "/tmp/#{cv.name}.svg" + file = "/tmp/#{id}.svg" File.open(file,"w+"){|f| f.puts cv.correlation_plot} `inkview '#{file}'` - #p Crossvalidation.find(id).correlation_plot end end -- cgit v1.2.3