What is a decision tree?

Definition

A decision tree organises a problem into nodes that test conditions or select among alternatives. Following a path through the branches leads to a result or action. Trees can be designed explicitly or learned from data, depending on the application.

A bounded set of choices can simplify a task, but the tree still needs suitable conditions and outcomes. Missing cases or poor splits can produce wrong decisions. A tree's structure also differs from generating unrestricted text, even when a language model helps select a branch.

ELI5

A decision tree is like a flowchart of questions. Each answer tells you which question or result comes next.

For example, a support system might first ask whether a request concerns billing, then choose the relevant billing action. If the available choices miss the actual problem, it needs a way to ask for help.

Must a decision tree be trained by machine learning?

No. A tree can be built manually or learned from examples.

Does limiting the choices guarantee a correct decision?

No. The choices and conditions still need to match the real task, with appropriate handling for uncertain or missing cases.

  1. Nick Saraev and Jack Roberts against a black background beside the blue and white headline Realistic Or Trustworthy.
Definition card for decision tree: What is a decision tree?

A decision tree represents a sequence of choices or tests as branches leading to possible outcomes.