Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I parallelize fitting a gradient boosting model with sklearn?

Relatively new to model building with sklearn. I know cross validation can be parallelized via the n_jobs parameter, but if I'm not using CV, how can I utilize my available cores to speed up model fitting?

like image 637
mowglis_diaper Avatar asked Nov 07 '22 17:11

mowglis_diaper


1 Answers

There are alternatives like XGboost or LigtGMB that are distributed (i.e., can run parallel). These are well documented and popular boosting algorithms.

like image 168
Seyit Hocuk Avatar answered Nov 14 '22 21:11

Seyit Hocuk