It's in the making for the new histogram-based GB estimators, but the
other GB estimators like GradientBoostingRegressor and
GradientBoostingClassifier already support sample_weight. Just pass the
weights in the fit method:
https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.Grad
Hi,
it's in the making: https://github.com/scikit-learn/scikit-learn/pull/14696
On Fri, Oct 25, 2019 at 4:23 AM WONG Wing Mei
wrote:
> Can I ask whether we can use sample weight in gradient boosting? And how
> to do it?
>
> -Original Message-
> From: scikit-learn [mailto:scikit-learn-
Can I ask whether we can use sample weight in gradient boosting? And how to do
it?
-Original Message-
From: scikit-learn
[mailto:scikit-learn-bounces+wong.wingmei=uobgroup@python.org] On Behalf Of
scikit-learn-requ...@python.org
Sent: Friday, October 25, 2019 12:00 AM
To: scikit-lea