Home › Glossary › Fundamentals › Binary condition

Beginner · Fundamentals

Binary condition

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

TL;DR. A condition in a decision tree that results in one of two possible outcomes, typically 'yes' or 'no'.

Technical Definition

A condition in a decision tree that results in one of two possible outcomes, typically 'yes' or 'no'.

How it works

A binary condition is a decision point within a decision tree that splits data into exactly two branches. For example, checking if a temperature is above or below a certain threshold is a binary condition.

Related Concepts

  • Feature Engineering — The process of creating, selecting, and transforming input variables to improve a machine learning model's performance.
  • Classification — A supervised learning task where the model assigns inputs to discrete categories.
  • Supervised Learning — Learning from input–output pairs where each training example carries a correct label.

Further Reading

  • Google ML Glossary