Esc
Ask AIAnswers may be inaccurate; check the linked pages.Esc
Ask anything about these docs, like how to get started or what a function does.

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).