From the course: Advanced Python Projects: Build AI Applications

Unlock the full course today

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

Model selection

Model selection

- [Instructor] Now we're going to be selecting machine learning models for our program. So we're going to be choosing three different regression models because regression models are used when you want to predict a continuous outcome variable. So what a continuous outcome variable is that it's a variable that can take an infinite number of values within a certain range. So in our case here, we're trying to predict the price of the latte for each of the five top zip codes that we've identified. On the other hand, if we were to categorize the coffee price as expensive or cheap, then it would be a categorical variable because it only takes two values, expensive or cheap, right? We're not trying to categorize the price into expensive or cheap. We're actually trying to predict a number, so that is why we're going to be using regression models. So the three regression models that we're going to be using are linear regression,…

Contents