Research Article
Reinforcement Learning Based Artificial Immune Classifier
Pseudocode 2
The pseudocode of negative selection algorithm.
Start | (1) Creation of self sample set (K) | (2) While (for end of training) | (3) Production of random detectors (P) | (4) If(match detector with self sample set) | (5) Remove detector from set | (6) Else | (7) Add detector to set | (8) End else | (9) End while | (10) Creation of test sample set (K) | (11) While (for end of testing) | (12) If(match detector with test sample set) | (13) Anomaly detection according to active detectors | (14) End if | (15) End while |
|