lib/xlearn/model.rb in xlearn-0.1.1 vs lib/xlearn/model.rb in xlearn-0.1.2
- old
+ new
@@ -7,10 +7,11 @@
check_call FFI.XLearnCreate(@model_type, @handle)
ObjectSpace.define_finalizer(self, self.class.finalize(@handle))
options = {
task: "binary",
- quiet: true
+ quiet: true,
+ bin_out: false
}.merge(options)
if options[:task] == "binary" && !options.key?(:sigmoid)
options[:sigmoid] = true
end