You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: can not use MultiLogloss with class weight
catboost version:1.2.3
Operating System: Windows 11
CPU: AMD Ryzen 5 5600G
GPU: None
In classification with multiple labels, MultiLogloss loss function can not be used if class weight is specified.
model = CatBoostClassifier(class_weights=weights, loss_function="MultiLogloss", eval_metric="MultiLogloss")
model.fit(X,y)`
It returns:
CatBoostError: C:/Go_Agent/pipelines/BuildMaster/catboost.git/catboost/private/libs/options/catboost_options.cpp:616: class weights takes effect only with Logloss, MultiClass, MultiClassOneVsAll and user-defined loss functions
The text was updated successfully, but these errors were encountered:
Problem: can not use MultiLogloss with class weight
catboost version:1.2.3
Operating System: Windows 11
CPU: AMD Ryzen 5 5600G
GPU: None
In classification with multiple labels, MultiLogloss loss function can not be used if class weight is specified.
model = CatBoostClassifier(class_weights=weights, loss_function="MultiLogloss", eval_metric="MultiLogloss")
model.fit(X,y)`
It returns:
The text was updated successfully, but these errors were encountered: