2. Linear Regression, Polynomical, Gradiant Descent
2. Linear Regression, Polynomical, Gradiant Descent
Linear Regression
Polynomial Regression
Ridge Regression
Lasso Regression
Logistic Regression
Univariate and Multivariate
• to predict a single value that is univariate
• to predict multiple values , that would be a multivariate
regression problem.
Simple Linear Regression
Ex.
Size in feet(X) Price (Y)
2104 460
1416 232
1534 315
852 178
Notation :
m= Number of Training example
X’s=Input variable/Features
Y’s=Output variable/target Variable
Simple Linear Model
• Overfitting of model
• Note: One way to improve an
overfitting model is to feed it
more training data until the
validation error reaches the
training error.
Cross Validation