Github user manishamde commented on a diff in the pull request: https://github.com/apache/spark/pull/886#discussion_r13982568 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala --- @@ -45,7 +46,7 @@ class DecisionTree (private val strategy: Strategy) extends Serializable with Lo * @param input RDD of [[org.apache.spark.mllib.regression.LabeledPoint]] used as training data * @return a DecisionTreeModel that can be used for prediction */ - def train(input: RDD[LabeledPoint]): DecisionTreeModel = { + def train(input: RDD[WeightedLabeledPoint]): DecisionTreeModel = { --- End diff -- Agree. I started with implicit conversions and forget the reason why I switched. I will give it a try again. If it works, great. If not, I will remember why it doesn't work well. :-)
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---