Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-5133 Feature Importance for Random Forests
  3. SPARK-12405

Expose featureImportances on org.apache.spark.mllib.tree.RandomForest

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.5.2
    • None
    • MLlib
    • None

    Description

      "featureImportances" is only exposed at ML not MLlib.
      It cannot be used with org.apache.spark.mllib.tree.RandomForest.
      To use it requires using RandomForestClassifier of ML to train and create a RandomForestClassificationModel.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asimjalis Asim Jalis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: