Home / ai basics / What is Decision Tree

What is Decision Tree

Decision tree: a method for making decisions based on data. Learn what decision tree is and understand the fundamentals of artificial intelligence.

machine learning artificial intelligence data analysis prediction classification

By AI Glossary Team

Published: May 21, 2026

What is Decision Tree?

A decision tree is a way to make decisions using a tree-like model. It works by starting with a question, then branching out into more specific questions based on the answer to the first one. This process continues until a final decision is made. Think of it like a flowchart, where each step leads to the next one. The tree is “trained” on data, which means it learns from examples to make better decisions. For instance, a decision tree could be used to decide whether someone is likely to buy a certain product, based on their age, income, and other factors.

Think of It Like This

Imagine you’re trying to decide what to wear based on the weather. You start by asking if it’s sunny or rainy. If it’s sunny, you then ask if it’s hot or cold. If it’s hot, you wear a t-shirt, but if it’s cold, you wear a jacket. This is similar to how a decision tree works, with each question leading to the next one until you reach a final decision. Another example is a medical diagnosis, where a doctor asks a series of questions to narrow down the possible causes of a patient’s symptoms.

Why Should You Care?

Decision trees matter because they can help make decisions faster and more accurately. For example, banks use decision trees to decide whether to approve a loan application. By analyzing data such as credit score, income, and employment history, the decision tree can quickly determine the likelihood of the borrower repaying the loan. This can help banks reduce the risk of lending to people who may not be able to pay back the loan. Decision trees can also be used in medical diagnosis, to help doctors identify the best course of treatment for a patient.

Where You’ve Already Seen It

You may have already seen decision trees in action without realizing it. For instance, online shopping platforms like Amazon use decision trees to recommend products based on your browsing history and purchase behavior.Netflix uses decision trees to recommend TV shows and movies based on your viewing history. Even your smartphone’s virtual assistant, like Siri or Google Assistant, uses decision trees to understand your voice commands and respond accordingly. These decision trees are trained on vast amounts of data, which enables them to make accurate predictions and decisions.

The One Thing to Remember

The key thing to remember about decision trees is that they are a simple, yet powerful way to make decisions based on data. They work by asking a series of questions, each one leading to the next, until a final decision is made. This process allows decision trees to learn from data and improve their accuracy over time.

machine-learning, artificial-intelligence, data-analysis

None

Related Terms