Model Building and Evaluation

Learn how to build and evaluate a linear regression model to predict the customer revenue in a retail shop.

Finally, the dataset has been prepared, and we have observed the underlying relationships between the features. Now, we can build our regression model and start predicting customer spending for the year 2020.

In this lesson, we’ll build our first version of the model, evaluate its performance, and test different ways to improve the model’s performance.

As always, let's import all the necessary libraries and the wrangled dataset.

Get hands-on with 1200+ tech skills courses.