From the course: Complete Guide to Generative AI for Data Analysis and Data Science

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Challenge: Building a regression model

Challenge: Building a regression model

- (upbeat music) - [Instructor] Let's do an exercise challenge with linear regression models. The challenge for this lesson is to use the housing dataset that is associated with this lesson. We're going to use that housing dataset to build a linear regression model, and what we're going to do is we're going to predict the sales price of a house. So that's our dependent variable, and we're going to use the total area of the house as the independent variable. And we're going to use ChatGPT, or of course, you can always use another large language model if you like. But what I would like you to do is build a model in Python using this dataset to predict the sale price of the house, using the total area of the house as the independent variable.

Contents