Decision Trees Intuition
A tree has many analogies in real life, and turns out that it has influenced a wide area of machine learning . In decision analysis, a decision tree can be used to visually and explicitly represent decisions and decision making. As the name goes, it uses a tree-like model of decisions. Though a commonly used tool in data mining for deriving a strategy to reach a particular goal, its also widely used in machine learning, which will be the main focus of this article. A decision tree is drawn upside down with its root at the top. In the above image, the bold text in black represents a condition/ internal node , based on which the tree splits into branches/ edges . The end of the branch that doesn’t split anymore is the decision/ leaf , in this case, whether the passenger died or survived, represented as red and green text respectively. Basically the main intuition behind the decision trees are ' if-else' statements. Let's learn some basic terms in decision trees wh...