
Naive Bayes modification for intrusion detection system classification with zero probability
Author(s) -
Yogiek Indra Kurniawan,
Fakhrur Razi,
Nofiyati Nofiyati,
Bangun Wijayanto,
Muhammad Luthfi Hidayat
Publication year - 2021
Publication title -
bulletin of electrical engineering and informatics
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.251
H-Index - 12
ISSN - 2302-9285
DOI - 10.11591/eei.v10i5.2833
Subject(s) - bayes' theorem , naive bayes classifier , intrusion , computer science , algorithm , intrusion detection system , multiplication (music) , zero (linguistics) , precision and recall , mathematics , artificial intelligence , bayesian probability , support vector machine , linguistics , philosophy , geochemistry , combinatorics , geology
One of the methods used in detecting the intrusion detection system is by implementing Naïve Bayes algorithm. However, Naïve Bayes has a problem when one of the probabilities is 0, it will cause inaccurate prediction, or even no prediction was found. This paper proposed two modifications for Naïve Bayes algorithm. The first modification eliminated the variable that has 0 probability and the second modification changed the multiplication operations to addition operations. This modification is only applied when the Naïve Bayes algorithm does not find any prediction results caused by zero probabilities. The results of this research show that the value of precision, recall, and accuracy in the modification made tends to increase and better than the original Naïve Bayes algorithm. The highest precision, recall, and accuracy are obtained from modification by changing the multiplication operation to the addition. Increasing precision can reach 4%, increasing recall reaches 2% and increasing accuracy reaches 2%.