|
Algorithm 1: Integrated IDS and Honeypot with Ensemble Method using LR and KNN |
Model Training
-
o
For each record in the training set, do the following:
-
▪
Train the LR model.
-
▪
Train the KNN model.
Model Testing
-
o
For each record in the testing set, do the following:
-
▪
Make a prediction using the LR model.
-
▪
Make a prediction using the KNN model.
-
▪
Use ensemble learning to combine the predictions.
-
▪
Compare the ensemble prediction with the actual label to evaluate the performance.
IDS Monitoring and Honeypot Deception
|