Python Catboost: Multiclass F1 score custom metric
问题 How do you find the F1-score for each class of a multiclass Catboost Classifier? I've already read through the documentation and the github repo where someone asks the same question. However, I am unable to figure out the codesmithing to achieve this. I understand that I must use the custom_metric parameter in CatBoostClassifier() but I don't know what arguments are acceptable for custom_metric when I want F1 score for each class of my multiclass dataset. Suppose you have a toy dataset (from