demo/regression.rb in statsample-0.3.4 vs demo/regression.rb in statsample-0.4.0
- old
+ new
@@ -30,17 +30,18 @@
ds.add_case_array([a,b,c,d,y])
}
end
+
ds.update_valid_data
if !File.exists? "regression.dab"
da=DominanceAnalysis::Bootstrap.new(ds,"y")
else
da=Statsample.load("regression.dab")
end
-times=1
+times=20
if(true)
Benchmark.bm(7) do |x|
if HAS_GSL
x.report("GslEngine:") {
da.lr_class=Regression::Multiple::GslEngine