ME 5990�Machine Learning for ME
�
Linear Regression
Outline
Regression is supervised learning
Regression
Maths of fitting
Linear regression
For example…
Sstudent(x) | Book(y) |
28 | 29 |
35 | 34 |
39 | 35 |
30 | 29 |
Training (fitting)
Training (fitting)
Training (fitting)
Training (fitting)
It is first order equations!
It is first order equations!
Outline
Poly fitting
Poly fitting
Poly fitting
Outline
Slide based on Katherine Keith, University of Massachusetts, Amherst
(https://kakeith.github.io/classes/cs335/spring2020_ml.html)
Multivariate Linear Fitting
Linear Model
Linear Model
Linear model
Linear Model
Linear Model
Residual
Residual
Cost function
Training (fitting) thoughts
Solution (1)
Solution (1)
From : https://en.wikipedia.org/wiki/Computational_complexity_of_mathematical_operations
Solution (2)
Summary