fengshansi
fengshansi
> 感谢您使用LightGBM。您能否提供有关如何使用 catboost 的信息?根据我的经验,catboost 的速度会根据您选择的树结构和提升模式而有很大差异。这些选择通常会在速度和性能之间做出权衡。 { "iterations": 300, "learning_rate": 0.07116892811065063, "depth": 5, "loss_function": "Logloss", "verbose": 20, "eval_metric": "TotalF1:average=Macro", "subsample": 0.2697512982046929, "colsample_bylevel": 0.932255235452595, "early_stopping_rounds": 60, "min_data_in_leaf": 98, } I use a...
Here is code and data https://github.com/fengshansi/lgbm_compare.
> :在我的笔记本电脑(8 个线程)上,运行您的两个笔记本可以: > > ## 光GBM >  > > ## CatBoost 升压 >  > > 因此,LightGBM 的速度要快 4-5 倍(使用 pip install) Unbelievable, my lightgbm takes nearly 5...
> 哎呀:-)。在运行每个笔记本内核之前,我已经重置了它们。 I reinstalled lightgbm. But still very slow. With Python 3.11.4 and lightgbm 4.3.0.
> 可能是 python 版本和 lightgbm 版本的问题。我自己使用 python 3.11.9 和 lightgbm 4.3.0 时需要跑半小时以上,但是使用 python 3.10.13 和 lightgbm 4.1.0 只需要几分钟。 Thank you very much. I will try it.