Professional Documents
Culture Documents
Cammd Aims Lecture2
Cammd Aims Lecture2
Practical Concepts in ML
Rohit Batra
rbatra@iitm.ac.in
$%!
Linear model = 𝒘( 𝒙
+ of the “line”
How to find the parameters (𝒘)
that best fits the data?
1-Dimensional example
Error 𝑒$ = 𝑦$ − 𝑦+$
y
Error )
1
Mean square error *(𝑒$ )#
𝑁
$%"
∑)
$%"(𝑒$ )
#
x Coefficient of 1− )
determination (R )
2 5 #
∑$%"(𝑦$ − 𝑦)
Mean of 𝒚
hype-parameter estimation
Use validation errors for
Validation CV training
CV iteration
CV training Validation
)
1
to *(𝑒$ )# + 𝜆 𝒘 #
𝑁
$%"
Model training E2
E3
Good resources:
https://in.mathworks.com/help/stats/understanding-support-vector-machine-regression.html
Source: https://towardsdatascience.com/what-are-ensemble-methods-in-machine-learning-cac1d17ed349