Lecture 4 and 5
Lecture 4 and 5
Test Set
ML Algo. Error or Error1
Training Set
Error2
Validation Set
ML Algo. Error or
Model 2 average error
2
Model s
Selected Final
Error
: : : model
: : :
: : :
: : :
ML Algo. Error or Errorq
Model q average error
q
Low Bias
model fit over datasets, i.e., prediction
deviates from the value of the
underlying target function.
High Bias
Expected Prediction Error and Bias-
variance Tradeoff
-1 +1
Linear Regression
● Linear Models are used in SVM, Deep learning, and etc...
● Defining a rule is not always feasible.
● How to learn their weights (or unknowns) from data?
● Formulate learning as optimization problem w.r.t. weights
Parameteric ML
Equation of line:
y = mx +c
c can be considered as
bias then, m is the
weight.
For simplicity, we
consider the following:
● w = [m c]
T
● x = [x 1]
T