Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

CART Algorithm

Machine Learning Algorithm

CART, short for classification and regression trees, is an algorithm for building a decision tree that can predict either a category, as a classification tree, or a numeric value, as a regression tree, from a set of input features. It works top down, starting with the whole dataset at the root and repeatedly splitting it into smaller and smaller subsets, choosing at each step the split that best separates the data according to a fitness measure, commonly a measure like Gini impurity for classification or variance reduction for regression, and continuing until the resulting groups are reasonably pure or further splitting stops helping. Leo Breiman and his coauthors introduced the method in their 1984 book Classification and Regression Trees, and the term has since come to serve as a general label covering both the classification and regression variants of the same underlying tree-building procedure. CART's basic splitting and pruning logic also underlies later, more powerful ensemble methods that combine many individual trees.

Sources
scikit-learn: scikit-learn: Decision Trees
scikit-learnIn Group: Decision Tree and Ensemble Learning Algorithms, Section 1.10.6
Quote, In Group: Decision Tree and Ensemble Learning Algorithms, Section 1.10.6
CART (Classification and Regression Trees) is very similar to C4.5, but it differs in that it supports numerical target variables (regression) and does not compute rule sets.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.