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

Sample weight in RandomForestRegressor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • None
    • ML
    • None

    Description

      I think there have been some tickets that are related to this feature request. Even though the tickets earlier have been designated with resolved status, it still seems impossible to add sample weight to random forest classifier/regressor.

      The possibility of having sample weight is definitely useful for many use cases, for example class imbalance and weighted bias correction for the samples. I think the sample weight should be considered in the splitting criterion. 

      Please correct me if I am missing the new feature. Otherwise, it would be great to have an update on whether we have a path forward supporting this in the near future.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jiaqig Jiaqi Guo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: