# Loss functions¶

It is possible to your own functions. However, for convenience, the following are already defined and ready to use.

Smooth loss functions:

 copt.utils.LogLoss(A, b[, alpha]) Logistic loss copt.utils.SquareLoss(A, b[, alpha])