An SVM is just Hinge loss with L2-regularization

They can also be viewed as ‘maximizing the margin’: