Development version
You are reading the latest (dev) docs. For the stable version, see stable.
Scoring Metrics Recipes
Five copy-paste recipes for common scoring objectives.
| Recipe | Metric | Task |
|---|---|---|
| Optimize for F1 (binary) | f1 | Classification |
| Optimize for ROC-AUC | roc_auc | Classification |
| Optimize for Balanced Accuracy | balanced_accuracy | Imbalanced classification |
| Optimize for MAE | neg_mean_absolute_error | Regression |
| Optimize for RMSE | neg_root_mean_squared_error | Regression |
See Also
- All Recipes — full recipe index
- Common Tuning Mistakes — avoiding metric leakage
