lib/tomoto/gdmr.rb in tomoto-0.1.4 vs lib/tomoto/gdmr.rb in tomoto-0.2.0
- old
+ new
@@ -6,10 +6,10 @@
model.instance_variable_set(:@min_df, min_df)
model.instance_variable_set(:@rm_top, rm_top)
init_params(model, binding)
end
- def add_doc(doc, metadata: [])
- _add_doc(prepare_doc(doc), metadata)
+ def add_doc(doc, numeric_metadata: [])
+ _add_doc(prepare_doc(doc), numeric_metadata)
end
end
end