Linear Regression
Linear Regression
Linear Regression –
Polynomial Curve fitting
Linear Regression - Polynomial Curve Fitting
when M = 3 polynomial seems to give a better fit to the data. And when and M = 9, it gives
an excellent fit to the data. In fact polynomial passes exactly each data point and E(w∗) = 0
Thushari Silva, PhD Essentials of Machine Learning
Linear Regression - Polynomial Curve Fitting
when M is small,ERMS takes relatively larger values. When M is between 3 and 8,ERMS
takes relatively smaller values. And when M = 9, ERMS goes to Training error goes zero, but
the Testing Error is very large (i.e Polynomial with larger M has tuned to the random noise).
Thushari Silva, PhD Essentials of Machine Learning
Linear Basis Function Models
where
Likelihood Function
• The probability of observing the given data as a function parameters.
• The Likelihood function for{xi }in=1 which are independent and identically
distributed with P( xi ,q ) and{ti }in=1 are the corresponding targets.
• This approach essentially chooses the value for the parameter, θ ,that
maximizes the likelihood of seeing the sample data that is collected
• These parameters are known as Maximum Likelihood Estimators (MLE)