Research Article
Building an Effective Intrusion Detection System by Using Hybrid Data Optimization Based on Machine Learning Algorithms
Algorithm 2
Calculate_Fitness_Sample.
Input: Original Dataset , , Chromosome population | |
Output: Fitness set | |
for = 1: | |
= ā iForest (, ) | |
Train Random Forest classifier by | |
Test based on and get classification | |
Calculate F1-score based on actual class and classification | |
() = | |
End |