使用 `class_weights` 与 grid_search 似乎会提供不正确的结果
作者: tmvfb创建于 2023年5月16日更新于 2026年9月18日
标签bugpythonobjectives and metrics
catboost 版本: 1.2.0, Python 包 操作系统: Windows 10 class_weights 参数在 grid_search 方法中提供了不正确的结果,对于 CatBoostClassifier。在下面的示例中,最佳估计器总是具有在 params 列表中指定的第一个 class_weights 值。
内容来源: catboost/catboost