Application of the K-Nearest Neighbor Algorithm Method to Analyze Netizen Responses and Reactions Toward the Relocation of Capital City at social media

Main Article Content

Muhammad Ziaul Haq
Suluh Sri Wahyuningsih
Nursalim
Uli Wildan Nuryanto
Andy Rachman

Abstract

Sentiment analysis is a form of natural language processing that uses word analysis to ascertain people's thoughts, feelings, and views on a certain topic. In this study, word processing refers to the procedure used to categorize written texts into positive and negative emotion categories. Using data crawling techniques, information on public comments on the relocation of Indonesia's capital was gathered from Twitter social media. Keywords related to the move included "new capital," "moving capital," and "moving capital with 10,000 comments." The author of this work classified test data and training data using a lexical approach using the K-Nearest Neighbor (K-NN) method. The purpose of this study is to evaluate the K-NN algorithm's accuracy, error rate, precision, f-measure, and recall. In order to identify the ideal parameters, tests were also conducted on calculating the k value in the K-Nearest Neighbor (K-NN) method. Testing the K-Nearest Neighbor (K-NN) method yielded the greatest accuracy level of 60% with a k value of 9, concluding with the initial data collection. The K-Nearest Neighbor (K-NN) technique was evaluated in the second data collection, and with a k value of 5, it had the best accuracy level of 70%. Future scholars might create texts in languages other than Indonesian and categorize those that include visuals in them. Next, add more dictionaries to the collection and extract features from bigrams, trigrams, quadgrams, and other combinations. You may then employ several algorithmic techniques in the accuracy calculation feature.

Article Details

How to Cite
Ziaul Haq, M., Sri Wahyuningsih, S., Nursalim, Nuryanto, U. W., & Rachman, A. (2024). Application of the K-Nearest Neighbor Algorithm Method to Analyze Netizen Responses and Reactions Toward the Relocation of Capital City at social media. Jurnal Informasi Dan Teknologi, 5(4), 312-317. https://doi.org/10.60083/jidt.v5i4.458
Section
Articles

References

[1] Krisandi, N., & Helmi, B. P. (2023). k-Nearest Neighbor Algorithm in Classifying Palm Oil Production Data at PT. Minamas, Parindu District. Bimaster: Scientific Bulletin of Mathematics, Statistics and Its Applications, 2(1).
[2] Matulatuwa, F. M. (2017). Text mining using a lexicon based method for sentiment analysis of PT services. Pos Indonesia via Twitter social media (Doctoral dissertation, Master of Information Systems FTI-UKSW Postgraduate Program).
[3] Turyadi, I., Zulkifli, Z., Tawil, M. R., Ali, H., & Sadikin, A. (2023). The Role Of Digital Leadership In Organizations To Improve Employee Performance And Business Success. Jurnal Ekonomi, 12(02), 1671-1677.
[4] Suriadi, S., Rafid, M., Zulkifli, Z., Abdurohim, A., & Damirah, D. (2023). The Influence of Organizational Culture, Work Environment and Work Discipline on Job Satisfaction of Teachers at Boarding School. Journal on Education, 5(4), 14777-14781.
[5] Aziz, F., Mayasari, N., Sabhan, S., Zulkifli, Z., & Yasin, M. F. (2022). The Future of Human Rights in the Digital Age: Indonesian Perspectives and Challenges. Journal of Digital Law and Policy, 2(1), 29-40.
[6] Hendriyanto, D., Setiamika, M., & Primadewi, N. (2020). The effect of Ginkgo biloba against ototoxic hearing loss on advanced stage undifferentiated nasopharyngeal carcinoma receiving cisplatin chemotherapy. INTERNATIONAL JOURNAL OF NASOPHARYNGEAL CARCINOMA, 2(02), 44-46.
[7] Nurcahyo, V. E., & Hendriyanto, D. (2020). The depression level effect on the QOL of patients with obstructive sleep apnea syndrome. Oto Rhino Laryngologica Indonesiana (ORLI), 50(2), 135-40.
[8] Haddar, G. A. H., Hendriyanto, D. ., Munandar, H. ., Kelibia, M. U. ., & Muhammadiah, M. . (2023). ANALYSIS OF THE EFFECTIVENESS OF PROJECT STEAM-BASED LEARNING MODEL TO IMPROVE STUDENTS’ CRITICAL THINKING SKILLS. Community Development Journal : Jurnal Pengabdian Masyarakat, 4(5), 10519–10525.
[9] Hendriyanto, D., & Helmi, H. Protective role of Nigella sativa oil against cisplatin-induced ototoxicity: a literature review. Journal of the Medical Sciences (Berkala Ilmu Kedokteran), 55(2).
[10] Sarah, S., Aswita, D., Ainun, N., Maulidar, M., & Azzarkasyi, M. (2022). The development of HOTS-based assessment instruments on educational statistics. International Journal of Trends in Mathematics Education Research, 5(1), 38-43.
[11] Setyawan, A. A., Prabowo, H., Simatupang, B., & Pradipto, Y. D. (2023). The Influence of Quality Management Practices and Digital Innovation on Organizational Performance Mediated by Competitiveness Strategy and Moderated Industrial Collaboration in Vocational Higher Education in Indonesia. Tec Empresarial, 18(1), 398-403.
[12] Jefriyanto, J., Ainun, N., & Al Ardha, M. A. (2023). Application of Naïve Bayes Classification to Analyze Performance Using Stopwords. Journal of Information System, Technology and Engineering, 1(2), 49-53.
[13] Ainun, N., & Jefriyanto, J. (2023). Development of Kirchoff’s Law Drawing Tools to Improve Student’s Science Skills in Learning Process of Direct Flow Circuits. Journal of Information System, Technology and Engineering, 1(2), 32-37.
[14] Mardiah, A. (2019). The Influence Of Store Layout, Interior Display, And Human Variable Related To Shopping Orientation At Matahari Basko Grand Mall Padang. Jurnal Ecogen, 2(1), 27-33.
[15] Sudirjo, F., Syamsuri, H., Mardiah, A., Widarman, A., & Novita, Y. (2023). Analysis of The Influence of Customer Perceived Benefit, Ease of Use and Sales Promotion on The Decision to Use Digital Wallets for Shopeepay Customers. Jurnal Sistim Informasi dan Teknologi, 63-68.
[16] Budiarto, B. W., Haes, P. E., Nawarcono, W., Mardiah, A., & Apriyono, T. (2023). The Influence Of E-Customer Satisfaction, E-Service Quality And Sales Promotion On E-Customer Loyalty Of Tokopedia Customers. JEMSI (Jurnal Ekonomi, Manajemen, dan Akuntansi), 9(6), 2472-2479.
[17] Nursanti, S., Dharta, F. Y., Chaerudin, C., Syam, S. P., & Purnama, R. N. (2022). Generation z's perceptions of health information about the Covid-19. Jurnal Studi Komunikasi, 6(2), 587-602.
[18] Siswanto, A., Pratiwi, R., Rokhmawati, D., & Dharta, F. Y. (2023). Analysis Of Determinant Factors Employee Performance Of Directorate General Of Intellectual Property Rights Republic Of Indonesia. JEMSI (Jurnal Ekonomi, Manajemen, dan Akuntansi), 9(6), 2493-2498.
[19] Bilgies, A. F., Tawil, M. R., Mardiah, A., & Arief, I. (2023). Analysis of The Influence of Online Consumer Reviews, Seasonal Digital Advertising and Celebrity Endorsers on Repurchase Intention of E-Commerce Consumers. Jurnal Informasi dan Teknologi, 26-32.
[20] Ariawan, J., Tarigan, B. A., Mardiah, A., & Siahaan, F. S. (2023). Analysis of The Influence of Burnout, Job Satisfaction and Organizational Commitment on Turnover Intention of Electronic Manufacturer Employees in Indonesia. JEMSI (Jurnal Ekonomi, Manajemen, dan Akuntansi), 9(5), 2016-2020.
[21] Setyawan, A. A. (2022). Effect of Quality Management Practices, and Digital Innovation on Organizational Performance Mediated by Competitiveness Strategy and Moderated by Industrial Collaboration at Vocational Colleges in Indonesia. ITALIENISCH, 12(2), 1096-1100.
[22] Widjayanti, C. E., Setyawan, A. A., & Racma, D. F. (2021, December). Philanthropy Model with Income Redistribution as an Alternative Solution for Women Victims of Layoffs Affected by Covid-19. In Prosiding University Research Colloquium (pp. 509-516).
[23] Wijayanti, C. E., Wibowo, A., Suyudi, S., & Setyawan, A. (2020). Hubungan Efisiensi dan Efektifitas dengan Kepuasan Pengguna Sistem Pendukung Keputusan Pemberian Penghargaan Bagi Karyawan Pada Pabrik Plastik" Sukses Mandiri" di Sokaraja Wetan. Jurnal HUMMANSI (Humaniora, Manajemen, Akuntansi), 3(1), 47-55.
[24] Dharta, F. Y., & Chaerudin, D. R. (2023, June). Using Digital Marketing Communications to Boost SMEs’ Local Economic Growth in Karawang Regency. In ICEMBA 2022: Proceedings of the International Conference on Economic, Management, Business and Accounting, ICEMBA 2022, 17 December 2022, Tanjungpinang, Riau Islands, Indonesia (p. 101). European Alliance for Innovation.
[25] Dharta, F. Y., Prasetyo, H., & Dema, Y. (2021). Influence of attitude on online impulse buying: perspective on marketing communication. Jurnal Studi Komunikasi, 5(3), 729-745.
[26] Mahdalela, R., Ainun, N., & Roslina, R. (2022, December). An Analysis of Students' Mathematical Communicative Skills in Solving Sets Problems at SMP Negeri 1 Darul Hikma Aceh Jaya. In Proceedings of International Conference on Multidiciplinary Research (Vol. 5, No. 2, pp. 70-81).
[27] Suryawati, I., Rahmani, R., & Ainun, N. (2022, November). Students' Mathematical Communication Ability through Blended Learning Model for Elementary School Students in Banda Aceh. In Proceedings of International Conference on Multidiciplinary Research (Vol. 5, No. 1, pp. 53-57).
[28] Nurjanah, W. E., Perdana, R. S., & Fauzi, M. A. (2017). Sentiment Analysis of Television Shows Based on Public Opinion on Twitter Social Media using the K-Nearest Neighbor Method and Weighting the Number of Retweets. Journal of Information Technology and Computer Science Development, 1(12), 1750-1757.
[29] Sahara, S. (2016). Application of the K-Nearest Neighbors Method for Game Review Sentiment Analysis on Android. Journal of Evolution Volume, 4, 38-41.

Most read articles by the same author(s)