
The ID4 algorithm was developed by Schlimmer and Fisher (1986). This algorithm builds decision trees incrementally. Many learning tasks are incremental as new instances or details become available over time. The ID4 algorithm works by building a tree and updating it as new instances become available. Note that the ID3 algorithm can be used to learn incrementally by adding each new instance to the training set as it becomes available and re-running ID3 against the enlarged training set. This is, however, computationally inefficient.
The basic ID4 algorithm tree-update procedure is given below.
| Inputs: One instance, a decision tree which is kept as a global data structure. |
| Outputs: An updated decision tree. |
|
|
|
|
This tree produced by ID4 on the data from figure 3.06 is the same as that produced by ID3, however, not every concept that ID3 can learn can be learned by ID4. ID4 can also produce inconsistent trees. For example the trees after the 5th and 6th training instances are presented contain nodes with positive and negative classifications and so cannot be effectively used for classification.
Authored by Serengul Smith
E-mail to:
serengul1@mdx.ac.uk
School of Computing Science Middlesex University
Revised: September 1998