Github user fmcquillan99 commented on a diff in the pull request:
https://github.com/apache/madlib/pull/246#discussion_r176150844
--- Diff:
src/ports/postgres/modules/recursive_partitioning/decision_tree.sql_in ---
@@ -127,7 +132,11 @@ tree_train(
<DT>weights (optional)</DT>
<DD>TEXT. Column name containing numerical weights for each observation.
+ Can be any value greater than 0 (does not need to be
+ an integer).
This can be used to handle the case of unbalanced data sets.
+ For classification the row's vote is multiplied by the weight,
--- End diff --
ok
---