z-logo
open-access-imgOpen Access
Perbandingan Algoritma K-Nearest Neighbour (KNN) dan Naive Bayes pada Intrusion Detection System (IDS)
Author(s) -
Aditya Dwi Afifaturahman,
Firmansyah Msn
Publication year - 2021
Publication title -
innovation in research of informatics (innovatics)
Language(s) - English
Resource type - Journals
ISSN - 2656-8993
DOI - 10.37058/innovatics.v3i1.2852
Subject(s) - naive bayes classifier , computer science , sensitivity (control systems) , artificial intelligence , k nearest neighbors algorithm , intrusion detection system , pattern recognition (psychology) , word error rate , metric (unit) , bayes' theorem , data mining , machine learning , support vector machine , bayesian probability , engineering , electronic engineering , operations management
Machine learning techniques are widely used to develop Intrusion Detection Systems (IDS) to detect and classify cyber attacks at the network level and the host level in a timely and automated manner. However, many challenges arise as malicious attacks are constantly changing and occurring in very large volumes requiring a scalable solution. Therefore, this study conducted a comparison of the K-Nearest Neighbor (KNN) and Naive Bayes algorithms. The dataset used in this study is the Ddos features-IDS 2017 dataset published in 2019. This research analyzes the comparison of methods generated from the classification process based on metric accuracy, specificity and sensitivity parameters. The classification process using the K-Nearest Neighbor (KNN) and Naive Bayes algorithms, it can be concluded that the results of the three tests with a percentage split of 60%, 70% and 80% show that the K-Nearest Neighbor (KNN) algorithm gets a higher value than Naive Bayes except the error rate because the error rate indicates that the data failed to be classified properly. Testing on a percentage split of 60% KNN parameter accuracy gets a value of 99.53%, specificity 94.05%, sensitivity 75.20%, testing on a percentage split 70% KNN parameter accuracy gets a value of 99.69%, specificity 94.59%, sensitivity 78.40% and testing on percetage split 80%, KNN parameter accuracy parameter got a value of 99.70%, specificity 94.44%, sensitivity 75.85%.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here