AI engineering glossary · Classical ML algorithms

What is CART?

CART: Classification and Regression Trees: a tree-building algorithm that always makes binary splits, uses Gini impurity for classes and squared error for numbers, and then prunes back. It is the basis of scikit-learn's tree models and most forest and boosting libraries.

Level: intermediateTopic: Classical ML algorithms

CART: an example

DecisionTreeClassifier in scikit-learn implements an optimised version of CART.

Related terms

More Classical ML algorithms terms

Where you learn it

CART is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.