Index Ai Academy
Glossary · Phase 3 · Machine learning

Hinge loss

max(0, 1 - y·score): zero for points safely on their side, growing for points inside the margin or on the wrong side.

Try it now

The order of a real scikit-learn pipeline: data, a scaler and the model joined, then fit and score.

Learn it properly

Support vector machines · The widest margin, support vectors, the hinge loss and C, kernels for curved boundaries, and when an SVM fits. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write