Closed flippercy closed 2 years ago
Hi,
Sorry for the late reply (holidays). I think I experienced issues with the sklearn_regressor when including in fit, but I'll be looking into it today, I agree with your observation that it's better to include it in the initialization to be able to do hyperparameter optimiziation over it.
Hi,
I released a new version that fixes this issue - monotone_constraints is now part of the initializer of PGBMRegressor rather than .fit().
Best
Thanks a lot! I will check it later.
Hi @elephaint:
I just realized that for PGBM, monotone_constraints was set as a parameter of fit() while monotone_iterations a parameter of PGBMRegressor.
Any reason to separate them instead of also include monotone_constraints in PGBMRegressor as the scikit-learner wrapper of xgboost/lightgbm does? The current approach makes it difficult to be put on platforms for HPO/automl such as FLAML.
Best,
Yu Cao