Research Article

Hybrid Modified -Means with C4.5 for Intrusion Detection Systems in Multiagent Systems

Pseudocode 3

Pseudocode of the determination the closest centroid for an instance.
Input: Testing Dataset, centroid, trees
Output: Predication of instances testing dataset P
() For every instance testing dataset Do
ā€ƒ() Choose centroid , for all and
ā€ƒ() = add Call pseudo code MatchTree ()