Re: [scikit-learn] scikit-learn Digest, Vol 43, Issue 38

2019-10-25 Thread Nicolas Hug
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

Re: [scikit-learn] scikit-learn Digest, Vol 43, Issue 38

2019-10-25 Thread Adrin
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-

Re: [scikit-learn] scikit-learn Digest, Vol 43, Issue 38

2019-10-24 Thread WONG Wing Mei
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