From the course: Python: Working with Predictive Analytics (2019)
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Random forest regression - Python Tutorial
From the course: Python: Working with Predictive Analytics (2019)
Random forest regression
- [Instructor] This is the last algorithm of the modeling section, random forest regressor. We are moving from the one deep tree to a forest of relatively shallow trees. There comes the wisdom of the crowd with the collective opinion of the trees as opposed to a single tree. Random forest consists of multiple decision trees. It's based on ensemble learning, which means multiple learning methods are working together as a team. In other words, there's more than one decision tree in the model. Thus, all these individual trees get to cast their own vote. The main difference between regression and classification trees are, in regression trees, we take the mean. And in the classification trees, we take the mode, which is the most occurring value when making a prediction. In other words, the majority voting. This is one of the strongest algorithms among all, so what makes this strong? I'd like to introduce you to the term bagging. It's subdividing the data into smaller components, as if your…
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)
-