Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Tree-based regressionPros: Fits complex, nonlinear data Cons: Difficult to interpret results Works with: Numeric values, nominal values |
In chapter 3, we used decision trees for classification. Decision trees work by successively splitting the data into smaller segments until all of the target variables are the same or until the dataset can no longer be split. Decision trees are a type of greedy algorithm that makes the best choice at a given time without concern for global optimality.