lib/vowpalwabbit/model.rb in vowpalwabbit-0.2.0 vs lib/vowpalwabbit/model.rb in vowpalwabbit-0.3.0

- old
+ new

@@ -87,10 +87,10 @@ end args.join(" ") end def check_param(v) - raise ArgumentError, "Invalid parameter" if /[[:space:]]/.match(v) + raise ArgumentError, "Invalid parameter" if /[[:space:]]/.match?(v) end def predict_example(example) if @params[:cb] FFI.VW_PredictCostSensitive(handle, example)