summaryrefslogtreecommitdiff
path: root/lib/bbrc.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-08-03 18:04:39 +0200
committerChristoph Helma <helma@in-silico.ch>2015-08-03 18:04:39 +0200
commitb90a31b9f5356680efd782b18b3587fac8d8010e (patch)
tree0e253062ba979578f1c17b6c74d3ff505d8979d1 /lib/bbrc.rb
parent5648e31134953703429e38dba0c22392b50092a9 (diff)
initial classification validation
Diffstat (limited to 'lib/bbrc.rb')
-rw-r--r--lib/bbrc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bbrc.rb b/lib/bbrc.rb
index 6e3af3a..81eeedc 100644
--- a/lib/bbrc.rb
+++ b/lib/bbrc.rb
@@ -34,7 +34,7 @@ module OpenTox
minfreq = minfreq.round
end
- @bbrc = Bbrc::Bbrc.new
+ @bbrc ||= Bbrc::Bbrc.new
@bbrc.Reset
if prediction_feature.numeric
@bbrc.SetRegression(true) # AM: DO NOT MOVE DOWN! Must happen before the other Set... operations!