Chapter 06.01: Predictions with CART

Decision trees are an important type of machine learning model and come in two main types: classification and regression trees. In this section, we explain the general idea of CART and show how they recursively divide up the input space into ever smaller rectangular partitions. Thus, we think of CART for now only as a predictor.

Lecture video

Lecture slides

Quiz

--- shuffle_questions: false --- ## Which statements are true? - [x] The prediction function defined by a CART divides the feature space into disjoint hyperrectangles. - [x] The root node contains all data. - [ ] The leaf node contains all data. - [ ] Observations can end up in several leaf nodes at the same time. - [x] The CART algorithm recursively splits nodes into child nodes.