Decision Tree in Machine Learning
Updated on August 19, 2025 | By Learnzy Academy
A Decision Tree is a machine learning algorithm used for both classification and regression tasks. It works by dividing the data into smaller parts based on certain rules, forming a tree-like structure.
You can think of it as a flowchart for decision-making:
- It begins with a question at the top (called the root).
- Based on the answer (Yes/No or multiple options), it follows a branch.
- At each step, a new question is asked.
- Finally, it ends at a leaf node, which gives the outcome (for example, "Pass" or "Fail").
Click here to download practice questions on
Decision Tree