From the course: Python: Working with Predictive Analytics
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Decision tree regression - Python Tutorial
From the course: Python: Working with Predictive Analytics
Decision tree regression
- [Instructor] On our roadmap, we are again in the modeling section and we have two models left to discuss here. In this video, I'll explain the decision tree algorithm. This is also called Classification and Regression Trees or CART for short. Decisions, decisions, decisions. It's in our lives everyday. Suppose we are in the middle of a decision to whether or not to purchase a car, how would we approach it? We would start with defining the most important factors or features for us to help our decision. Decision trees were first used in classification algorithms or predicting categorical variables. A decision tree is a tree where each node represents a feature or attribute, each link or branch represents the decision also called a role and each leaf represents an outcome. Here is a decision tree example about a car purchase. Looking at the price range, if the price of a car is less than $30,000 we continue to the automatic transmission question. The car has an automatic transmission…
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
-
-
-
-
(Locked)
Introduction to predictive models2m 52s
-
(Locked)
Linear regression6m 25s
-
(Locked)
Polynomial regression4m 37s
-
(Locked)
Support Vector Regression (SVR)4m 8s
-
(Locked)
Decision tree regression5m 43s
-
(Locked)
Random forest regression4m 44s
-
(Locked)
Evaluation of predictive models2m 56s
-
(Locked)
Hyperparameter optimization5m 4s
-
(Locked)
Challenge: Hyperparameter optimization1m 15s
-
(Locked)
Solution: Hyperparameter optimization6m 55s
-
(Locked)
-