summaryrefslogtreecommitdiff
path: root/lazar.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-07-14 13:56:50 +0200
committerChristoph Helma <helma@in-silico.ch>2010-07-14 13:56:50 +0200
commitd761fe098ee419ae3943fefe105922133cb863fd (patch)
tree42207aee58e35c5f8dcb91ca02d6acafe3f57c04 /lazar.rb
parent05309aa3f63ec7edb7364ab9dabb0e68a35ddd57 (diff)
model creation working, validation report generation fails for large datasets
Diffstat (limited to 'lazar.rb')
-rwxr-xr-xlazar.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lazar.rb b/lazar.rb
index bd802af..3bc441e 100755
--- a/lazar.rb
+++ b/lazar.rb
@@ -93,6 +93,7 @@ class Lazar < Model
@r.eval "p<-predict(model,sims)[1,1]"
regression = 10**(@r.p.to_f)
LOGGER.debug "Prediction is: '" + regression.to_s + "'."
+ @r.quit # free R
end