losses (pmrf.losses)
Stateful metric modules for frequentist optimization.
These classes wrap pure mathematical loss functions into a :class:pmrf.Metric.
All losses take the true and predict arrays as inputs, and return the loss
value when called.
Classes
|
Log of Mean Squared Error (RMSE) metric. |
|
Mean Squared Error (MSE) metric. |
|
Root Mean Squared Error (RMSE) metric. |
|
L1 Loss (Mean Absolute Error) metric. |
|
Mean Absolute Percentage Error (MAPE) metric. |
|
Huber loss metric. |
|
Applies a one-sided constraint (hinge) before evaluating a base metric. |