Skip to main content
. 2025 Aug 22;15:30943. doi: 10.1038/s41598-025-15984-9

Table 3.

Overview of performance metrics for regression analysis.

Error Mathematical formulation Description
Mean squared logarithmic error (MSLE) Inline graphic Measures the average squared difference between the logarithm of predicted values and the logarithm of actual values, reducing sensitivity to large errors
Root mean squared logarithmic error (RMSLE) Inline graphic Represents the root of the mean squared logarithmic error, translating logarithmic-scale errors back to interpretable units
Variance score (R-squared) Inline graphic Indicates the proportion of variance in the target variable explained by the model, ranging from 0 (no fit) to 1 (perfect fit)
Mean absolute error (MAE) Inline graphic Calculates the mean absolute deviation between predictions and true values, treating all errors equally regardless of magnitude
Mean absolute percentage error (MAPE) Inline graphic Expresses errors as a percentage of actual values, enabling intuitive comparisons across datasets with differing scales
Root mean squared error (RMSE) Inline graphic Reflects the standard deviation of prediction errors, emphasizing severe inaccuracies over minor ones
Mean squared error (MSE) Inline graphic Computes the mean of squared deviations, disproportionately penalizing large errors compared to small ones