Metrics reference
Every metric on the leaderboard per task, what it measures and which direction is better.
The All models table on a run has one column per metric. Each value is the mean over the cross-validation folds. The direction column below says whether a higher or a lower value is better; mlflow uses it to choose the Best model and the default sort.
Classification
| Metric | Measures | Better |
|---|---|---|
| Accuracy | The fraction of rows predicted correctly. | Higher |
| AUC | How well the model ranks positives above negatives, from 0.5 (chance) to 1. | Higher |
| Recall | Of the rows that are truly positive, the share the model found. | Higher |
| Prec. (precision) | Of the rows predicted positive, the share that are truly positive. | Higher |
| F1 | The harmonic mean of precision and recall. | Higher |
| Kappa | Agreement with the truth, corrected for the agreement expected by chance. | Higher |
| MCC | Matthews correlation coefficient: a balanced correlation that stays informative with imbalanced classes. | Higher |
For a binary target, Recall, Prec. and F1 score the positive class. For a multiclass target they are averaged across classes, weighted by class size, and AUC is computed one class against the rest, weighted. On imbalanced data, prefer F1, MCC or AUC over Accuracy.
Regression
| Metric | Measures | Better |
|---|---|---|
| MAE | Mean absolute error, in the units of the target. | Lower |
| MSE | Mean squared error. Punishes large errors. | Lower |
| RMSE | The square root of MSE, back in target units. | Lower |
| R2 | The fraction of the target's variance the model explains. | Higher |
| RMSLE | RMSE on log values (of absolute values). Relative error matters more than absolute error. | Lower |
| MAPE | Mean absolute error as a fraction of the true value. Rows whose true value is 0 are skipped. | Lower |
Clustering
The engine defines these metrics for clustering models:
| Metric | Measures | Better |
|---|---|---|
| Silhouette | How close rows are to their own cluster compared with the nearest other cluster, from -1 to 1. | Higher |
| Calinski-Harabasz | The ratio of between-cluster to within-cluster spread. | Higher |
| Davies-Bouldin | The average similarity of each cluster to its most similar one. | Lower |
| Homogeneity, Rand Index, Completeness | Agreement with known labels. They need ground-truth labels. | Higher |
In the current version, clustering and anomaly runs do not fill metric columns on the leaderboard. Use the silhouette and elbow plots on the model page to judge clusters. Anomaly detection has no metrics; see Anomaly detection.
Time series
| Metric | Measures | Better |
|---|---|---|
| MASE | Error scaled by the error of a naive forecast. Values below 1 beat the naive forecast. | Lower |
| RMSSE | Root mean squared error scaled the same way. | Lower |
| MAE | Mean absolute error in the units of the series. | Lower |
| RMSE | Root mean squared error in the units of the series. | Lower |
| MAPE | Absolute error as a fraction of the actual value. | Lower |
| SMAPE | Like MAPE but symmetric between over- and under-forecasts. | Lower |
| R2 | The fraction of variance explained. | Higher |
| COVERAGE | The share of actual values that fall inside the prediction interval. It is empty when the model gives no interval. | Higher |
Which metric ranks the leaderboard
The caption above the All models table states the metric the table is ranked by. Select any column header to sort by another metric. When no metric was chosen for the run, the engine defaults are Accuracy for classification, R2 for regression and MASE for time series. Direction is taken into account: for MAE the lowest value ranks first. Failed models and models without the metric are listed last.
The Baseline row, a dummy reference model, is shown on the leaderboard but is never ranked or chosen as the best model.
Next steps
Learn the theory
Lessons on learning.mlflow.es that explain the ideas behind this page.
Updated 2026-11-22