Research Article
Building an Effective Intrusion Detection System by Using Hybrid Data Optimization Based on Machine Learning Algorithms
Algorithm 1
GA_iForest_RF_Sample .
Input: Original training dataset , testing dataset | |
Output: New training dataset | |
Generate initial population | |
While not reach terminating condition | |
Calculate_Fitness_Sample (, , P) | |
Selection() | |
/, are probabilities of crossover and mutation respectively./ | |
Crossover (, ) | |
Mutation (, ) | |
End While | |
= Chromosome with the highest fitness in | |
= () | |
= | |
End |