Decision Tree
Decision Tree
Unit 4
Decision Tree
▪ This process starts at the root and is repeated recursively until a leaf
node is hit, at which point the value written in the leaf constitutes the
output.
▪ A decision tree is also a nonparametric model in the sense that we do
not assume any parametric form for the class densities and the tree
structure is not fixed a priori but the tree grows, branches and leaves
are added, during learning depending on the complexity of the
problem inherent in the data.
▪ Split -> allow all kinds of decision rules at the interior nodes
▪ Tree size is measured by 1. Nodes 2. The complexity of the decision
nodes
Univariate Decision Tree
▪ In a univariate tree, in each internal node, the test uses only one of
the input dimensions.
▪ A split is called univariate if it uses only a single variable, otherwise
multivariate.
▪ Example:
“Petal.Width < 1.75” is univariate,
“Petal.Width < 1.75 and Petal.Length < 4.95” is bivariate.
▪ The decision node divides the input space into two:
▪ Lm = {x|xj > wmO} and Rm = {x|xj ≤ WmO}
Univariate Decision Tree
Univariate Classification Decision
Tree