Machine Learning
Learning as Loss Minimization
1
Learning as Loss Minimization Machine Learning 1 Learning as loss - - PowerPoint PPT Presentation
Learning as Loss Minimization Machine Learning 1 Learning as loss minimization The setup Examples x drawn from a fixed, unknown distribution D Hidden oracle classifier f labels examples We wish to find a hypothesis h that mimics f
1
2
But distribution D is unknown
3
But distribution D is unknown
4
5
But distribution D is unknown
6
But distribution D is unknown
7
8
Overfitting!
9
10
11
12
13
ywTx Loss ywTx > 0, no misclassification ywTx < 0, misclassification
14
ywTx Loss ywTx > 0, no misclassification ywTx < 0, misclassification Penalize predictions even if they are correct, but too close to the margin More penalty as wTx is farther away from the separator on the wrong side
15
16
Regularization term:
hypothesis space and pushes for better generalization
regularization terms which impose
Empirical Loss:
mistakes
functions which impose other preferences
17
Regularization term:
hypothesis space and pushes for better generalization
regularization terms which impose
Empirical Loss:
mistakes
functions which impose other preferences A hyper-parameter that controls the tradeoff between a large margin and a small hinge-loss
18
19
20
Zero-one
21
Hinge: SVM Zero-one
22
Perceptron Hinge: SVM Zero-one
23
Perceptron Hinge: SVM Exponential: AdaBoost Zero-one
24
Perceptron Hinge: SVM Logistic regression Exponential: AdaBoost Zero-one
25