Regression Module 1

Ahsan Ijaz

Regression: Predicting house prices

Plotting recent sales

Linear Regression

Which line to choose

Refer to plotLines.R for visualization

Residual sum of squares (cost function)

Final Prediction

Quadratic relationship

Adding basis to regression.

Higher order functions

Training, validation and testing sets

Model complexity