Bulletin of Electrical Engineering and Informatics
Vol 10, No 5: October 2021

Naive Bayes modification for intrusion detection system classification with zero probability

Yogiek Indra Kurniawan (Universitas Jenderal Soedirman)
Fakhrur Razi (Universitas Muhammadiyah Surakarta)
Nofiyati Nofiyati (Universitas Jenderal Soedirman)
Bangun Wijayanto (Universitas Jenderal Soedirman)
Muhammad Luthfi Hidayat (King Abdulaziz University)



Article Info

Publish Date
01 Oct 2021

Abstract

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%.

Copyrights © 2021






Journal Info

Abbrev

EEI

Publisher

Subject

Electrical & Electronics Engineering

Description

Bulletin of Electrical Engineering and Informatics (Buletin Teknik Elektro dan Informatika) ISSN: 2089-3191, e-ISSN: 2302-9285 is open to submission from scholars and experts in the wide areas of electrical, electronics, instrumentation, control, telecommunication and computer engineering from the ...