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

RandomForestRegressionModel should expose getMaxDepth in R

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • ML, SparkR
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: