losses
Common loss functions for optimization.
Functions
|
Applies a differentiable one-sided constraint (hinge) before evaluating a base metric. |
|
Computes the Huber loss, a robust loss function that transitions from squared error to absolute error depending on the delta threshold. |
|
Computes the log of the Mean Squared Error (MSE) between true and predicted values. |
|
Computes the Mean Absolute Error (MAE) between true and predicted values. |
|
Computes the Mean Absolute Percentage Error (MAPE) between true and predicted values. |
|
Computes the Mean Squared Error (MSE) between true and predicted values. |
|
Computes the Root Mean Squared Error (RMSE) between true and predicted values. |