Pattern Recognition Machine Learning: Chapter 3: Linear Models For Regression
Pattern Recognition Machine Learning: Chapter 3: Linear Models For Regression
Outline
Discuss tutorial.
Regression Examples.
The Gaussian distribution.
Linear Regression.
Maximum Likelihood estimation.
Academia Example
Predict: final percentage mark for student.
Features: 6 assignment grades, midterm exam, final
exam, project, age.
Questions we could ask.
I forgot the weights of components. Can you
recover them from a spreadsheet of the final
grades?
I lost the final exam grades. How well can I still
predict the final mark?
How important is each component, actually?
Could I guess well someones final mark given
their assignments? Given their exams?
Sample size n
2(x-)
1/2 =
E(x)
where
where
Ndimensional
Mdimensional
S is spanned by
.
wML minimizes the
distance between and
its orthogonal projection
on S, i.e. .
Over-fitting
Root-Mean-Square (RMS)
Error:
Polynomial Coefficients
Quadratic Regularization
Penalize large coefficient values
Regularization:
Regularization:
Regularization:
vs.
which is minimized by
is called
the
regularizati
on
coefficient.
Lasso
Quadratic
Cross-Validation for
Regularization
Data Space
Posterior
Data Space
Posterior
Data Space
Posterior
Data Space