Decision Tree Induction Algorithm
Decision Tree Induction Algorithm
http://www.tutorialspoint.com/data_mining/dm_dti.htm
Copyright tutorialspoint.com
A decision tree is a structure that includes a root node, branches, and leaf nodes. Each internal
node denotes a test on an attribute, each branch denotes the outcome of a test, and each leaf
node holds a class label. The topmost node in the tree is the root node.
The following decision tree is for the concept buy_computer that indicates whether a customer at a
company is likely to buy a computer or not. Each internal node represents a test on an attribute.
Each leaf node represents a class.
Tree Pruning
Tree pruning is performed in order to remove anomalies in the training data due to noise or
outliers. The pruned trees are smaller and less complex.
Cost Complexity
The cost complexity is measured by the following two parameters
Number of leaves in the tree, and
Error rate of the tree.
Loading [MathJax]/jax/output/HTML-CSS/jax.js