A Random Forest Approach for Classifying Regional Social Stability in Banten Province Based on Socioeconomic Indicators

Authors

  • Widyawati Information Systems Study Program, Universitas Pamulang, Banten, Indonesia
  • Ika Ima Nissa Information Systems Study Program, Universitas Pamulang, Banten, Indonesia
  • Bagus Setya Information Systems Study Program, Universitas Pamulang, Banten, Indonesia
  • Lisdianto Dwi Kesumahadi Information Systems Study Program, Universitas Pamulang, Banten, Indonesia
  • Yuda Pratama Wibawa Information Systems Study Program, Universitas Pamulang, Banten, Indonesia

DOI:

https://doi.org/10.34148/teknika.v15i2.1490

Keywords:

Banten Province, Classification, Machine Learning, Random Forest, Social Stability

Abstract

Social stability is an important indicator in measuring regional welfare and development conditions. This study aims to classify the level of social stability in Banten Province using the Random Forest method based on several social indicators, including poverty, unemployment, Human Development Index (HDI), HDI percentage growth, Gini Ratio, population density, and average years of schooling (RLS). The dataset used in this study was obtained from the regency and city social statistical data in Banten Province from 2020 to 2025. The research process was carried out through several stages, namely data collection, data preprocessing, social stability label determination, splitting training and testing data, Random Forest modeling, model evaluation, feature importance analysis, and result visualization using the Python programming language. The Random Forest algorithm was selected because of its ability to perform classification effectively and reduce overfitting in classification models. The evaluation results showed that the Random Forest model achieved an accuracy value of 100%, with precision, recall, and F1-score values of 1.00. In addition, the feature importance analysis indicated that the unemployment variable had the strongest influence on the classification results, followed by HDI and poverty variables, while the Gini Ratio had the lowest influence. The findings of this study indicate that the Random Forest method can be effectively applied to classify regional social stability in Banten Province based on social indicators and can support data-driven regional policy analysis.

Downloads

Download data is not yet available.

References

[1] H. Khasim, “OJK: Utang Pinjol Masyarakat Indonesia Capai Rp. 101 Triliun,” Carapandang. Accessed: May 11, 2026. [Online]. Available: https://carapandang.com/news/read/ojk-utang-pinjol-masyarakat-indonesia-capai-rp-101-triliun

[2] Mita Trianda and Triase Triase, “Implementation of Random Forest Algorithm for Classification of Eligibility For Social Assistance Recipients In Information Systems,” Jurnal E-Komtek (Elektro-Komputer-Teknik), vol. 8, no. 2, pp. 275–286, Dec. 2024, doi: 10.37339/e-komtek.v8i2.2197.

[3] P. Dubath et al., “Random forest automated supervised classification of Hipparcos periodic variable stars,” ArXiv, Jul. 2011, doi: 10.1111/j.1365-2966.2011.18575.x.

[4] M. P. Yunizar, L. J. Sinay, and Y. Yudistira, “Performance Analysis Of Random Forest Classification On Unemployment Rate In Maluku Province Based On Data Balancing Method,” Journal of Statistics and Its Applications, vol. 7, no. 1, Apr. 2025.

[5] I. Setiawan et al., “Utilizing Random Forest Algorithm for Sentiment Prediction Based on Twitter Data,” in Proceedings of the First Mandalika International Multi-Conference on Science and Engineering 2022, MIMSE 2022 (Informatics and Computer Science), Atlantis Press International BV, 2022, pp. 446–456. doi: 10.2991/978-94-6463-084-8_37.

[6] F. Ahludzikri, R. Herwanto, R. Abdul Aziz, I. Agus, and S. Yusuf Irianto, “Web-Based Research Article Classification Using The Random Forest Algorithm,” Jurnal Ilmu Siber dan Teknologi Digital, vol. 4, no. 1, pp. 15–31, Nov. 2025, doi: 10.35912/isted.v4i1.5547.

[7] L. Malem Ginting, M. M. Sigiro, G. Yola Lumbantoruan, and dan Januard Lumbangaol, “Prediksi Indikator Perawatan Menggunakan Random Forest Classification dan Classification and Regression Trees,” Journal of Applied Technology and Informatics, vol. 1, no. 7, pp. 43–48, Nov. 2021, [Online]. Available: http://journal-jati.del.ac.id/

[8] S. Hu, Y. Ge, M. Liu, Z. Ren, and X. Zhang, “Village-level poverty identification using machine learning, high-resolution images, and geospatial data,” International Journal of Applied Earth Observation and Geoinformation, vol. 107, Mar. 2022, doi: 10.1016/j.jag.2022.102694.

[9] G. Muñetón-Santa and L. C. Manrique-Ruiz, “Predicting Multidimensional Poverty with Machine Learning Algorithms: An Open Data Source Approach Using Spatial Data,” Soc. Sci., vol. 12, no. 5, May 2023, doi: 10.3390/socsci12050296.

[10] M. Ahmad, H. Prabowo, H. L. H. S. Warnars, and F. L. Gaol, “A Machine Learning Approach for Model Selection of Social Aid Beneficiaries,” Journal of System and Management Sciences, vol. 13, no. 6, pp. 230–243, 2023, doi: 10.33168/JSMS.2023.0614.

[11] M. H. A. Zamzuri, N. Sofian, and R. Hassan, “Forecasting of Poverty using the Ensemble Learning Classification Methods,” International Journal on Perceptive and Cognitive Computing, vol. 9, no. 1, pp. 24–32, Jan. 2023, doi: 10.31436/ijpcc.v9i1.326.

[12] Badan Pusat Statistik Provinsi Banten, “Jumlah Penduduk Miskin Provinsi Banten (Maret 2025),” BPS Provinsi Banten. Accessed: May 14, 2026. [Online]. Available: https://banten.bps.go.id/id/statistics-table/2/Mzc4IzI=/jumlah-penduduk-miskin-provinsi-banten--ribu-orang---maret-2025.html

[13] Badan Pusat Statistik Provinsi Banten, “Persentase Penduduk Miskin Provinsi Banten, Maret 2025,” BPS Provinsi Banten. Accessed: May 14, 2026. [Online]. Available: https://banten.bps.go.id/id/statistics-table/2/NzgjMg==/persentase-penduduk-miskin-provinsi-banten--maret-2025.html

[14] Badan Pusat Statistik Provinsi Banten, “Statistik Sosial Provinsi Banten,” BPS Provinsi Banten. Accessed: May 14, 2026. [Online]. Available: https://banten.bps.go.id/id/statistics-table?subject=519&sortBy=date%2Ctitle&sortOrder=desc%2Casc&utm

[15] Badan Pusat Statistik Provinsi Banten, “Kepadatan Penduduk Banten 2026,” BPS Provinsi Banten. Accessed: May 14, 2026. [Online]. Available: https://banten.bps.go.id/id/statistics-table/2/MTA5IzI=/kepadatan-penduduk-banten--2026.html

[16] Badan Pusat Statistik Provinsi Banten, “Gini Ratio Provinsi Banten, Maret 2025,” BPS Provinsi Banten. Accessed: May 14, 2026. [Online]. Available: https://banten.bps.go.id/id/statistics-table/2/MzMwIzI=/gini-ratio-provinsi-banten--maret-2025.html

[17] Badan Pusat Statistik Provinsi Banten, “Rata-rata Lama Sekolah di Banten 2025,” BPS Provinsi Banten. Accessed: May 14, 2026. [Online]. Available: https://banten.bps.go.id/id/statistics-table/2/NzYjMg==/rata-rata-lama-sekolah-di-banten--2025.html

[18] Badan Pusat Statistik Provinsi Banten, “PDRB ADHB TW IV 2025,” BPS Provinsi Banten. Accessed: May 14, 2026. [Online]. Available: https://banten.bps.go.id/id/statistics-table/2/NTAwIzI=/pdrb-adhb--tw-iv-2025.html

[19] F. Kruber, J. Wurst, E. S. Morales, S. Chakraborty, and M. Botsch, “Unsupervised and Supervised Learning with the Random Forest Algorithm for Traffic Scenario Clustering and Classification,” ArXiv, Apr. 2020, doi: 10.1109/IVS.2019.8813994.

[20] S. Hatmara Sukma, N. Suarna, A. Bahtiar, P. Pramudya Marta, and K. Anam, “Model Prediksi Penerima Bantuan Sosial Berbasis Algoritma Random Forest,” Jurnal Software Engineering and Information System (SEIS), vol. 6, no. 1, pp. 45–49, Jan. 2026, doi: https://doi.org/10.37859/seis.v5i1.

[21] M. J. Faisti, R. Hadapiningradja Kusumodestoni, G. Wahyu, and N. Wibowo, “Mental Health Classification Using Naïve Bayes and Random Forest Algorithms,” 2025. [Online]. Available: http://jurnal.polibatam.ac.id/index.php/JAIC

[22] H. Hang, X. Liu, and I. Steinwart, “Best-scored Random Forest Classification,” ArXiv, May 2019, [Online]. Available: http://arxiv.org/abs/1905.11028

[23] R. Genuer, J.-M. Poggi, and C. Tuleau, “Random Forests: some methodological insights,” France, Nov. 2008. [Online]. Available: http://arxiv.org/abs/0811.3619

[24] M. A. Tsaqif and W. Maharani, “Comparison of Random Forest and Decision Tree Methods for Emotion Classification based on Social Media Posts,” Building of Informatics, Technology and Science (BITS), vol. 6, no. 4, pp. 2240–2248, Mar. 2025, doi: 10.47065/bits.v6i4.6677.

[25] P. Elisya, A. Sani, A. Hari Wibowo, M. Yamin, and M. Irwan Syahib, “Perbandingan Algoritma C5.0 Dan Random Forest Untuk Klasifikasi Calon Penerima Program Keluarga Harapan (PKH) (Studi Kasus: Desa Bakealu, Kecamatan Wakorumba Selatan, Kabupaten Muna),” ANIMATOR, vol. 3, no. 3, pp. 1–9, Dec. 2025.

A Random Forest Approach for Classifying Regional Social Stability in Banten Province Based on Socioeconomic Indicators

Downloads

Published

2026-07-08

Issue

Section

Articles

How to Cite

A Random Forest Approach for Classifying Regional Social Stability in Banten Province Based on Socioeconomic Indicators. (2026). Teknika, 15(2), 283-293. https://doi.org/10.34148/teknika.v15i2.1490