Decision tree regression
After linear regression, the next regression algorithm we will be learning is decision tree regression, which is also called regression tree.
In classification, the decision tree is constructed by recursive binary splitting and growing each node into left and right children. In each partition, it greedily searches for the most significant combination of features and its value as the optimal splitting point. The quality of separation is measured by the weighted purity of labels of two resulting children, specifically via metric Gini impurity or information gain. In regression, the tree construction process is almost identical to the classification one, with only two differences due to the fact that the target becomes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access