Journal of Computer Science and Informatics Engineering
Vol 5 No 4 (2026)

Implementation of the Random Forest and Naive Bayes Algorithms in Predicting Network Outages at the Kominfo South Tangerang

Raafa Syahidul Haq Irsi (Universitas Pamulang)
Indra Kristianto (Universitas Pamulang)



Article Info

Publish Date
13 Sep 2026

Abstract

The operational activities of the South Tangerang City Communication and Information Office (Diskominfo) rely heavily on a stable network infrastructure, making network disruptions a critical issue that directly affects service quality and employee productivity. The existing network monitoring system remains reactive and does not yet incorporate predictive analytics based on historical network capturing data. This study proposes a web-based network disruption prediction model using the Cross Industry Standard Process for Data Mining (CRISP-DM) framework by integrating a severity score and K-Means-based labeling to generate data-driven class labels before applying the Random Forest and Naïve Bayes classification algorithms. The dataset consists of 5,819 records collected from actual network traffic capturing within the operational environment of the South Tangerang City Communication and Information Office, using four primary network parameters: bandwidth, latency, packet loss, and uptime. After the data preparation stage, the Random Forest model achieved an accuracy of 95.78%, precision of 94.74%, recall of 97.63%, and an F1-score of 96.16%. In comparison, the Naïve Bayes model achieved an accuracy of 94.50%, precision of 92.88%, recall of 97.29%, and an F1-score of 95.03%. Feature Importance analysis identified packet loss as the most influential predictor, contributing 82.32% to the classification decision. Based on the overall evaluation, Random Forest demonstrated superior predictive performance and was deployed as the primary model in a Flask-based web application to support proactive network monitoring and network condition analysis.

Copyrights © 2026






Journal Info

Abbrev

cosie

Publisher

Subject

Computer Science & IT

Description

Artificial Intelligence Machine Learning Natural Language Processing Computer Vision Text Speech Text Mining Data mining Cryptography Data visualization Expert System Deep Learning Fuzzy Logic IoT and smart environments Neural Networks Pattern Recognition Image Processing Optimization Digital Signal ...