Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2692

Decision Tree API update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.0.0
    • None
    • MLlib
    • None

    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

          Activity

            People

              josephkb Joseph K. Bradley
              josephkb Joseph K. Bradley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: