- 1
Linear regression is useful when we want to predict the values of a variable from its relationship with other variables. There are two different types of linear regression models ( simple linear re…

- 2
**StreetEasy**is New York City’s leading real estate marketpl… - 3
As with most machine learning algorithms, we have to split our dataset into: -

**Training set**: the data used to fit the model -**Test set**: the data partitioned away at the very start of the e… - 4
Now we have the training set and the test set, let’s use scikit-learn to build the linear regression model! The steps for multiple linear regression in scikit-learn are identical to the steps for …

- 5
You’ve performed Multiple Linear Regression, and you also have the predictions in […] . However, we don’t have insight into the data, yet. In this exercise, you’ll create a 2D scatterplot to see…

- 6
Now that we have implemented Multiple Linear Regression, we will learn how to tune and evaluate the model. Before we do that, however, it’s essential to learn the equation behind it. **Equation 6….

- 7
In our Manhattan model, we used 14 variables, so there are 14 coefficients: […] - […] - number of bedrooms - […] - number of bathrooms - […] - size in square feet - […] - dista…

- 8
When trying to evaluate the accuracy of our multiple linear regression model, one technique we can use is

**Residual Analysis**. The difference between the actual value*y*, and the predicted valu… - 9
Now let’s rebuild the model using the new features as well as evaluate the new model to see if we improved! For […] , the scores returned: […] For […] , the scores returned: […] Fo…

- 10
Great work! Let’s review the concepts before you move on: -

**Multiple Linear Regression**uses two or more variables to make predictions about another variable: […] - Multiple linear regress…

## How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory