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

RandomForestRegressionModel should expose getMaxDepth in R

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: ML, SparkR
    • Labels:
      None
    • Target Version/s:

      Description

      Currently it isn't clear hot to get the max depth of a RandomForestRegressionModel (eg, after doing a grid search)

      It is possible to call

      regressor._java_obj.getMaxDepth()

      but most other decision trees allow

      regressor.getMaxDepth()

      UPDATE: This is just for Spark R. See SPARK-20498 for Python.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iamshrek Xin Ren
                Reporter:
                nlothian Nick Lothian
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: