Linear Regression Single Variable

Correction: at 6:53, use reg.predict([[3300]]) instead of reg.predict(3300) as api specification has changed.
In this tutorial we will predict home prices using linear regression. We use training data that has home areas in square feet and corresponding prices and train a linear regression model using sklearn linearregression class. Later on predict method is used on linearregression object to make actual forecast.