summaryrefslogtreecommitdiff
path: root/lib/experiment.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-08-26 14:20:23 +0200
committerChristoph Helma <helma@in-silico.ch>2015-08-26 14:20:23 +0200
commitd542e9fe92567c54423f39904111bd5293236416 (patch)
tree68d04fe73e7012a2732a15703b25f5934c7e7dad /lib/experiment.rb
parentf8faf510b4574df1a00fa61a9f0a1681fc2f4857 (diff)
Parallel Crossvalidations
Diffstat (limited to 'lib/experiment.rb')
-rw-r--r--lib/experiment.rb4
1 files changed, 2 insertions, 2 deletions
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