K Nearest Neighbor Based Model For Intrusion Detection System
K Nearest Neighbor Based Model For Intrusion Detection System
Positive(TP) Negative(FN)
IV. PROPOSED WORK
e
Actual
This Section discuss about proposed KNN based model for IDS. False True
Negativ
VI. CONCLUSION
In this paper, we applied the k nearest neighbor algorithm to IDS
data set to classify the type of attacks like Dos, probe, U2R and R2L.
Proposed method is validated by 5 and 10 cross validation for the
classification. The Experimental analysis shows that when
Fig 2: Classifying accuracy for full training set. compared to other classification methods, proposed model have
increased the accuracy, precision, recall and f-measure values. In
future, we plan to apply optimization techniques for the
classification of IDS dataset.
REFERENCES:
1. K.KanakaVardhini et.al, ”Enhanced Intrusion Detection System using
Data Reduction: An Ant Colony Optimization Approach”,
In-ternational Journal of Applied Engineering Research ISSN
0973-4562 Volume 12, Number 9 (2017) pp.1844-1847.
2. http://www.scholarpedia.org/article/K-nearest_neighbor
3. https://searchsecurity.techtarget.com/definition/intrusion-detection-sy
stem
4. Nabil Farnaaz and M.A.Jabbar, ”Random Forest Modeling for
Network Intrusion Detection System”, ELSEVIER, Science Direct
2016.
5. L.haripriya and M.A.Jabbar,” A Novel intrusion detection system
using ANN and feature subset selection”, international journal of
engineering and technology, 2018
6. https://medium.com/datadriveninvestor/knn-algorithm-and-implemen
tation-from-scratch-b9f9b739c28f
7. http://www.scholarpedia.org/article/K-nearest_neighbor
8. https://www.fromthegenesis.com/pros-and-cons-of-k-nearest-neighbo
rs/
9. Mr MohitTtiwari Raj Kumar, et al, proposed “Intrusion detection
system “, International Journal of Technical Research and Applications
Fig 3: Accuracy classification for 5 & 10 cross validation technique. in april 2017
Here, we compared our proposed method with SVM and Decision 10. https://towardsdatascience.com/cross-validation-70289113a072
Tree classifiers which obtained an accuracy of 99.66% and 99.94%. 11. https://machinelearningmastery.com/k-fold-cross-validation/
The comparisons of our approach with different models are shown 12. https://en.m.wikipedia.org/wiki/Cross-validation_(statistics)
13. https://www.geeksforgeeks.org/confusion-matrix-machine-learning/
in following fig 4 and table 4:
14. https://machinelearningmastery.com/an-introduction-to-feature-select
ion/
Table 4: Differentiating proposed model with others 15. https://classeval.wordpress.com/introduction/basic-evaluation-measur
S NO Approach Accuracy es/
1 SVM 99.66%
3 KNN 99.96%
AUTHORS PROFILE