Research Article
Stream Classification Algorithm Based on Decision Tree
Algorithm 2
Sliding window dynamic adjustment algorithm.
| | Initialize: length = 0;/∗length of slide window ∗/ | | (1) | Win1 = Data from training set, Win2 = Data from a classifier created by a training set | | (2) | While(di ! = Null) | | (3) | Widthtime = Predict the amount of data for a given time period | | (4) | If(Concept Drift) | | (5) | | | (6) | Else | | (7) | | | (8) | If(Widthtime > ) | | (9) | | | (10) | Else | | (11) | |
|