internalsGet Pro

Module 07 · Lesson 4 of 12Pro

Support vector machines: maximum-margin boundaries

Level
Intermediate
Topic
Classical ML: regression and classification
Reading time
17 min

When you finish this page you can

  1. Explain what the margin is and why only the support vectors decide where the boundary sits.
  2. Compare hinge loss with log loss, and say why an SVM gives scores rather than chances.
  3. Set C and the RBF kernel’s gamma knowing which way each one turns.
  4. Estimate an SVM’s fit cost for your row count, and decide when a linear SVM, a kernel SVM or another model fits.
  1. Loss functions: measuring how wrong a model is13 min
  2. Regularization: L1, L2 and early stopping17 min
  3. Logistic regression: predicting probabilities13 min

Ten seconds on 10,000, hours on 150,000

is our example online store. Every Monday, Joseph’s growth team sends vouchers to the 20,000 customers most likely to : to stop buying. Farah, an ML engineer, trains the model that ranks them. Today it is the logistic regression from Logistic regression, on the same made-up notebook data.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan