课程: Python: Working with Predictive Analytics

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Decision tree regression

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 every day. 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 for predicting categorical variables. A decision three is a tree where each node represents a feature or attribute, each link or branch represents the decision, also called a rule, and each leaf represents an outcome. Here is a decision tree example about 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…

内容