mae
chronax.metrics.mae
Mean absolute error as a native float.
mae(y_true, y_pred)
| Parameter | Type | Default | Description |
|---|---|---|---|
y_true |
np.ndarray |
- | (undocumented) |
y_pred |
np.ndarray |
- | (undocumented) |
Returns: float (the MAE value).
smape
chronax.metrics.smape
Symmetric MAPE (%) as a native float; zero-denominator entries contribute 0.
smape(y_true, y_pred)
| Parameter | Type | Default | Description |
|---|---|---|---|
y_true |
np.ndarray |
- | (undocumented) |
y_pred |
np.ndarray |
- | (undocumented) |
Returns: float (the SMAPE value in percent).