I have also used labeledPoint or libSVM format (for sparse data) for DecisionTree. When I had categorical labels (not features), I mapped the categories to numerical data as part of the data transformation step (i.e. before creating the LabeledPoint).
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Decision-Tree-requires-regression-LabeledPoint-tp10953p10981.html Sent from the Apache Spark User List mailing list archive at Nabble.com.