Analisis Dan Prediksi Kecepatan Jaringan Menggunakan Random Forest Regression Pada Dataset Lalu Lintas Jaringan

Authors

  • Arliandi Achmad Universitas Jenderal Achmad Yani
  • Herdy Ashaury Universitas Jenderal Achmad Yani
  • Melina Melina Universitas Jenderal Achmad Yani

DOI:

https://doi.org/10.61722/jssr.v4i6.13139

Keywords:

Forest Regression, network speed prediction, Traffic Total Speed, time series, feature importance

Abstract

The increasing use of the internet demands the availability of stable and high-quality network services. Changes in network traffic over each time period cause network speed to be dynamic, requiring an approach capable of predicting network speed based on historical patterns. This study aims to analyze the characteristics of Traffic Total Speed and predict internet network speed using the Random Forest Regression algorithm based on historical network traffic data at Universitas Jenderal Achmad Yani (Unjani). The research methodology includes Exploratory Data Analysis (EDA), preprocessing, feature engineering, lag feature construction, Random Forest Regression modeling, and model evaluation using Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Percentage Error (MAPE), coefficient of determination (R²), and 5-Fold TimeSeriesSplit. The initial dataset consisted of 722 observations, and after preprocessing and feature engineering, 716 observations were obtained. The data were then divided chronologically using a time-based split with an 80:20 ratio, consisting of 572 training data and 144 testing data. The testing results show that the model achieved an MAE of 121.03 Mbit/s, an MSE of 43,546.19 (Mbit/s)², an RMSE of 208.68 Mbit/s, a MAPE of 38.31%, and an R² of 0.8892. Evaluation using 5-Fold TimeSeriesSplit resulted in an average R² of 0.8049 ± 0.1178, an MAE of 171.86 ± 64.70 Mbit/s, and an RMSE of 286.25 ± 87.26 Mbit/s. The R² values for each fold were 0.5823, 0.8329, 0.8080, 0.8825, and 0.9188, respectively. Based on the feature importance analysis, Volume_lag1 was the most important feature with an importance score of 0.3512, followed by Speed_lag1 with a score of 0.1767. The results indicate that Random Forest Regression is capable of predicting Traffic Total Speed with reasonably good performance, although prediction errors remain higher during periods of significant changes in network speed, particularly during peak hours.

References

Li, E. (2025). Evaluasi Kinerja Jaringan WiFi Berdasarkan Kecepatan dan Kualitas di Lingkungan Rumah. 1(1), 35–41.

Putri, D. W., Sutomo, B., Informatika, J. T., Metro, K., & Forest, R. (n.d.). Prediksi Kemacetan Lalu Lintas Jaringan Menggunakan Algoritma Random Forest Berbasis Data Mikrotik. 75–86.

Rodicky, N., & Soim, S. (2025). SELEKSI FITUR DENGAN GENETIKA ALGORITHM UNTUK OPTIMASI RANDOM FOREST DALAM MENGKLASIFIKASI TENTANG JENIS PENGGUNAAN INTERNET Abstrak Pendahuluan Metode. (3), 185–190. https://doi.org/10.14710/transmisi.27.3.185-190

Saha, S., Haque, A., & Sidebottom, G. (2024). Multi-Step Internet Traffic Forecasting Models with Variable Forecast Horizons for Proactive Network Management †. 1–29. https://doi.org/10.1109/ISNCC55209.2022.9851774.Citation

Syafrudin, T., Rianto, R., Ujianto, E. I. H., Informasi, M. T., & Yogyakarta, U. T. (2025). Analisis Kualitas Layanan Jaringan Wlan Berdasarkan Parameter Throughput , Delay , Jitter , dan Packet Loss di Universitas X Analysis of Wlan Network Service Quality Based on Throughput , Delay , Jitter , and Packet Loss Parameters at University X. 5(8), 2143–2151.

Syarifatun, I., Miyarno, R., Fatwa, T., & Rizqi, A. (2024). Analisis Quality of Service ( QoS ) Menggunakan Standar Parameter Tiphon pada Jaringan Internet Berbasis Wi-Fi Kampus 1 Unjaya. 17(1), 1–9.

Test, D. (2025). Prediksi Downlink Throughput Menggunakan Metode Random Forest Regression Pada Jaringan 4G LTE Berdasarkan Data. 6(2).

Downloads

Published

2026-10-19