AI & ML Atlas
Machine LearningalgorithmAnimated walkthrough
Support Vector Regression (SVR)
SVM idea for numbers: fit a tube that ignores small errors.
The idea
SVR fits a function and ignores any point that lies within a margin ε of it, penalising only points outside this "ε-tube". Points on or outside the tube become support vectors. The flat tube makes the fit robust to small noise.
loss = max(0, |y − ŷ| − ε)
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Choose ε (tube width) and C (penalty).
- 2Fit a function that stays flat but keeps most points inside the tube.
- 3Penalise only the points outside the tube.
- 4Predict with the learnt function (use a kernel for curves).
loss = max(0, |y − ŷ| − ε)
1/4
Step by step
- 1Choose ε (tube width) and C (penalty).
- 2Fit a function that stays flat but keeps most points inside the tube.
- 3Penalise only the points outside the tube.
- 4Predict with the learnt function (use a kernel for curves).
Where it is used
Noisy small-to-medium regression problems, time-series smoothing.
Watch out for
ε, C and kernel parameters interact and need careful tuning.