You learned how to implement different types of loss functions. Depending on the regression task at hand, you can choose the corresponding loss function or design your own. It is also possible to combine L1 and L2 regularization in the loss term.