Home › Glossary › Fundamentals › Axis-aligned condition

Beginner · Fundamentals

Axis-aligned condition

Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.

TL;DR. In decision trees, a condition that splits data based on a single feature's value, like 'age > 30'.

Technical Definition

In decision trees, a condition that splits data based on a single feature's value, like 'age > 30'.

How it works

An axis-aligned condition in a decision tree is a rule used to partition data at a node based on the value of a single feature. For example, a condition like 'income <= 50000' or 'city == 'New York'' is axis-aligned. These splits are straightforward and create boundaries parallel to the feature axes in the data space.

Related Concepts

  • Feature Engineering — The process of creating, selecting, and transforming input variables to improve a machine learning model's performance.
  • Supervised Learning — Learning from input–output pairs where each training example carries a correct label.
  • Decision tree — A decision tree is a supervised learning model that uses a tree-like structure of decisions and their possible consequences.

Further Reading

  • Google ML Glossary