Description
Split Decision Tree API into separate Classifier and Regressor classes.
Details:
(a) Split classes: E.g.: DecisionTree --> DecisionTreeClassifier and DecisionTreeRegressor
(b) Included print() function for human-readable model descriptions
(c) Renamed Strategy to *Params. Changed to take strings instead of special types.
(d) Made configuration classes (Impurity, QuantileStrategy) private to mllib.
(e) Changed meaning of maxDepth by 1 to match scikit-learn and rpart.
(f) Removed static train() functions in favor of using Params classes.
(g) Introduced DatasetInfo class for metadata.
Attachments
Issue Links
- Is contained by
-
SPARK-1856 Standardize MLlib interfaces
- Resolved