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

Standardize API for DecisionTree: numClasses vs numClassesForClassification

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: MLlib
    • Labels:
      None
    • Target Version/s:

      Description

      In Spark 1.1, DecisionTree takes parameter numClasses in Python, but numClassesForClassification in Scala. This should be standardized.

      Proposal: Use numClasses everywhere.

        Attachments

          Activity

            People

            • Assignee:
              josephkb Joseph K. Bradley
              Reporter:
              josephkb Joseph K. Bradley
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: