Sentiment Analysis of BMKG Weather Information Service Using K-Nearest Neighbor Method

Authors

DOI:

https://doi.org/10.35870/ijsecs.v4i2.2881

Keywords:

BMKG, Platform X, K-Nearest Neighbor (KNN)

Abstract

The Meteorology, Climatology, and Geophysics Agency (BMKG) is a government institution that provides information related to air quality, climate, dry days, satellite imagery, wave forecasts, wind forecasts, and fire potential. This information is disseminated not only through BMKG's official website but also via the social media platform X, making it easier for the public to access up-to-date information. This study aims to classify user sentiment towards the weather information services provided by BMKG using the K-Nearest Neighbor (KNN) method. Data was collected through a web crawling technique, resulting in 1,031 data points analyzed in this research. The data processing stages included Pre-Processing and sentiment calculation using Vader's Sentiment and Random Forest. The classification results using the KNN algorithm showed an accuracy rate of 96%, with an average precision of 96%, an average recall of 96%, and an average f-measure of 96%. These findings indicate that the KNN model can effectively classify user sentiment towards BMKG's services.

Downloads

Download data is not yet available.

Author Biographies

  • Muhamad Fajar Sodiq, Universitas Stikubank

    Informatics Engineering Study Program, Universitas Stikubank, Semarang City, Central Java Province, Indonesia

  • Fatkhul Amin, Universitas Stikubank

    Informatics Engineering Study Program, Universitas Stikubank, Semarang City, Central Java Province, Indonesia

References

Hartanto, B., Astriawati, N., Supartini, D., & Yekti, D. K. (2022). Pencarian dan Pemanfaatan Informasi Data Badan Meteorologi, Klimatologi, dan Geofisika (BMKG). Yogyakarta: Sekolah Tinggi Maritim Yogyakarta. https://doi.org/10.55123/insologi.v1i5.906

Prasetyaningtyas, K. (2024). Climate Outlook 2024. Jakarta: BMKG.

Mubarok, H., & Dipalokareswara, A. (2022). Optimization of Weather Forecast Using Ensemble Method on Naïve Bayes and C4.5. Tasikmalaya: Universitas Siliwangi. https://doi.org/10.28932/jutisi.v8i3.5455

Daqiqi, I. (2021). Machine Learning: Teori, Studi Kasus dan Implementasi Menggunakan Python. Riau: UR Press.

Kemp, S. (2023). Digital 2023: Indonesia. Retrieved from https://datareportal.com/reports/digital-2023-indonesia

Suradi, S. (2019). Pemodelan Sistem. Makassar: Tohar Media.

Dinata, R. K., & Hasdyna, N. (2020). Machine Learning. Sulawesi: Unimal Press.

Alafandy, K. A., Omara, H., Lazaar, M., & Al Achhab, M. (2022). Machine Learning. Maroco.

Rangkuti, M. Y. R., Alfansyuri, M. V., & Gunawan, W. (2021). Penerapan Algoritma K-Nearest Neighbor (KNN) Dalam Memprediksi dan Menghitung Tingkat Akurasi Data Cuaca di Indonesia. Sumbawa: Universitas Teknologi Sumbawa. https://doi.org/10.36761/hexagon.v2i2.1082

Yani, V. I., & Mubarok, H. (2022). Optimasi Prakiraan Cuaca Menggunakan Metode Ensemble Pada Naïve Bayes dan C4.5. Tasikmalaya: Universitas Siliwangi. https://doi.org/10.28932/jutisi.v8i3.5455

Zuriati, Z., & Qomariyah, N. (2023). Klasifikasi Penyakit Stroke Menggunakan Algoritma K-Nearest Neighbor (KNN). Lampung: Politeknik Negeri Lampung. https://doi.org/10.25181/rt.v1i1.2665

Jasmir, J., Sika, X., Mulyadi, M., & Amelia, R. (2022). Klasifikasi kelayakan pemberian kredit pada calon debitur menggunakan naïve bayes. Jurikom (Jurnal Riset Komputer), 9(6), 1833. https://doi.org/10.30865/jurikom.v9i6.5131

Downloads

Published

2024-08-30

How to Cite

Sodiq, M. F., & Amin, F. (2024). Sentiment Analysis of BMKG Weather Information Service Using K-Nearest Neighbor Method. International Journal Software Engineering and Computer Science (IJSECS), 4(2), 822-835. https://doi.org/10.35870/ijsecs.v4i2.2881

Similar Articles

You may also start an advanced similarity search for this article.