Wk 1
Regression and classification
-- regression task
salary prediction
movie rating prediction
belongs to a finite set -- classification task
object recognition
topic classification
Linear model for regression
-- coefficients (weights)
-- bias
+ 1 parameters
to make it simple: there is always a constant feature
Vector notation:
For a sample :
Loss function
How to measure model quality?
Training a model
Fitting a model to training data:
Exact solution:
But inverting a matrix is hard for high-dimensional data!
Gradient Descent
Last updated