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 - Python Tutorial
From the course: Advanced Python Projects: Build AI Applications
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,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Data analytics using pandas, matplotlib, and scikit-learn4m 55s
-
(Locked)
Data preprocessing and scaling8m
-
(Locked)
Model selection3m 41s
-
(Locked)
Hyperparameter tuning3m 50s
-
(Locked)
Linear regression, random forest, and gradient boosting4m 26s
-
(Locked)
Predicting price based on model evaluation results4m 22s
-
-
-
-