[ 
https://issues.apache.org/jira/browse/SPARK-29333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045038#comment-17045038
 ] 

Huaxin Gao commented on SPARK-29333:
------------------------------------

This is resolved in https://issues.apache.org/jira/browse/SPARK-9478 recently. 

> Sample weight in RandomForestRegressor
> --------------------------------------
>
>                 Key: SPARK-29333
>                 URL: https://issues.apache.org/jira/browse/SPARK-29333
>             Project: Spark
>          Issue Type: New Feature
>          Components: ML
>    Affects Versions: 3.0.0
>            Reporter: Jiaqi Guo
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to