P&AD Lect 17 1 Unit2
P&AD Lect 17 1 Unit2
Source: Edureka
Bias- Variance
• So far in linear models for regression: We have assumed that the form
and number of basis functions are both fixed
• where
• where
Bias- Variance : Example
• Example: 25 data sets from the sinusoidal, varying the degree of
regularization,
Bias- Variance : Example
• Example: 25 data sets from the sinusoidal, varying the degree of
regularization,
Bias- Variance: Example
• Example: 25 data sets from the sinusoidal, varying the degree of
regularization,
Bias- Variance: Trade-off
• Example: 25 data sets from the sinusoidal, varying the degree of
regularization,
•From these plots, we note that an over-
regularized model (large ) will have a high
bias, while an under-regularized model (small
¸) will have a high variance.
So far in Linear Regression Models
Goal: Find w?
• Why linear model?
• Simple linear regression
• Basis functions
• Solving for w using maximum likelihood and least squares
• For multiple output
• Regularize the model (different regularizers)
• Managing over-fitting via the concept of bias-variance decomposition
• where
Bayesian Linear Regression
• A common choice for the prior is (zero-mean isotropic Gaussian)
for which