AIExplainer
Machine Learning Intermediate 1 min read

What is leaf?

A node in a decision tree with no children

In decision trees, a leaf is the end point of a series of decisions, where a final prediction or classification is made

A leaf is like the final destination on a map, where you arrive after making a series of turns and decisions

A decision tree for predicting whether someone will buy a car might have leaves that represent different outcomes, such as 'will buy' or 'will not buy'

Leaves are used in machine learning to make predictions or classify data, based on the path of decisions that led to the leaf

Some people think that leaves are only used in decision trees, but they can also be used in other types of machine learning models

The concept of leaves in decision trees has been around since the 1980s, when decision trees were first developed

terminal node end node decision node

Three products for different needs — explore what’s relevant to you.