Support Vector Machines
Prerequisite Knowledge
Previously Covered in This Subject
20.1 Hard Margin SVM — Review
20.1.1 Maximizing the Margin
| Symbol | Meaning | Type | Domain |
|---|---|---|---|
| weight vector (normal to hyperplane) | any real -vector | ||
| bias term (intercept) | any real number | ||
| -th data point | any real -vector | ||
| label of -th point | or | ||
| Lagrange multiplier (penalty) | non-negative |
20.1.2 The Primal Optimization Problem
20.1.3 Lagrangian and Dual Formulation
20.2 Support Vectors via Complementary Slackness
20.2.1 Complementary Slackness Condition
20.2.2 Support Vectors Define the Classifier
20.3 Hard Margin SVM: Worked Numerical Example
20.3.1 Problem Setup
20.3.2 Expressing in Terms of Data Points
20.3.3 The Third Equation and Dot Product Computation
20.3.4 Solving the System of Equations
20.3.5 Geometric Interpretation
20.3.6 Student Questions on the Worked Example
20.4 Soft Margin SVM
20.4.1 The Slack Variable
20.4.2 Soft Margin Primal Form
20.4.3 The C Parameter — Trade-off Control
20.4.4 Soft Margin Dual Form
20.5 Hinge Loss
20.5.1 Deriving the Hinge Loss
20.5.2 Two Cases for the Hinge Loss
20.6 The Kernel Trick
20.6.1 Non-Linear Separability
20.6.2 Projecting to Higher Dimensions
20.6.3 SVM as a Similarity-Based Classifier
20.6.4 The Kernel Trick Intuition
20.7 Polynomial Kernel
20.7.1 Polynomial Feature Explosion
20.7.2 The Polynomial Kernel Formula
20.8 Radial Basis Function (RBF) Kernel
20.8.1 RBF Kernel Formula
20.8.2 Gamma as a Scaling Parameter
20.8.3 RBF and Infinite Dimensions via Taylor Series
20.9 Kernel Trick: Worked Example
20.9.1 Problem Setup — 1D Non-Separable Data
| Point | Coordinate | Label |
|---|---|---|
| (positive) | ||
| (negative) | ||
| (positive) |
20.9.2 Feature Mapping to 2D
| Original | Label | |
|---|---|---|
20.9.3 Formulating Hard Margin SVM in the New Space
20.10 Practice Problem Types
20.10.1 Problem Types to Expect
20.10.2 Student Questions on Problem Types
Exam Guidance Summary
Key Industry Applications
MFML Lecture 20 notes · Support Vector Machines
Sections Breakdown
20.1 Hard Margin SVM — Review
20.2 Support Vectors via Complementary Slackness
20.3 Hard Margin SVM: Worked Numerical Example
20.4 Soft Margin SVM
20.5 Hinge Loss
20.6 The Kernel Trick
20.7 Polynomial Kernel
20.8 Radial Basis Function (RBF) Kernel
20.9 Kernel Trick: Worked Example
20.10 Practice Problem Types
Exam Guidance Summary
Key Industry Applications
Exam Revision Notes
Below is the distilled, exam-ready core of this lecture. Every entry is built from the full textbook notes above. Use this section for rapid review — but if something doesn't make sense, go back to the full explanation in the main content.
Hard-Margin SVM
Support Vectors & Complementary Slackness
Two-Point Worked Example
Soft-Margin SVM
Hinge Loss
The Kernel Trick
Polynomial Kernel
RBF (Gaussian) Kernel
Kernel Worked Example (1D → 2D)
Exam Problem Types
Was this lecture useful?
BitsNotes AI Assistant
Subject Notes AssistantConfigure AI Chat
Choose how to access the chatbotSigned in as
Powered by BitsNotes — 20 messages per day. No API key needed. Want unlimited access? Use "Bring Your Own Key" mode.
Sign in to use AI Chat
Get 20 free AI messages per day to ask questions about your lecture notes. Sign in with Google or GitHub — it takes 5 seconds.
Sign In to BitsNotesSwitch to "Bring Your Own Key" tab above for unlimited access with any OpenAI-compatible provider.