Soft Margins and C: Trading a Wide Street Against Hinge Loss
This lesson is part of the course
In this lesson
You score three candidate lines on the same eight tiles with the soft-margin objective ½‖w‖² + C·Σ hinge for three values of C and see how the best line changes from wide to narrow as C grows.
Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.
Lessons in this course
- A Separating Line: Scores, Signs and Predicted Classes Locked
- Margins: Functional Margin, Geometric Margin and the Width of the Street Locked
- Hinge Loss: Points Outside, Inside and on the Wrong Side of the Margin Locked
- Soft Margins and C: Trading a Wide Street Against Hinge Loss Locked
- Training by Sub-Gradient Steps: Update Rules, a Fixed Learning Rate and the Objective per Epoch Locked
- Support Vectors: The Few Tiles That Hold the Line Locked
- Kernels: Feature Maps for a Ring-Shaped Set, Polynomial and Radial Kernel Tables Locked
- Capstone: Kernel Decisions Σ α·y·K + b and Several Classes with One-vs-Rest Locked