Evaluation of chatbot data model in natural language processing using k-nearest neighbor

  • Sujacka Retno Universitas Malikussaleh
  • Rozzi Kesuma Dinata Universitas Malikussaleh
  • Novia Hasdyna Universitas Malikussaleh
Keywords: chatbot, NLP, AI, K-NN, website

Abstract

Chatbot is an application in the field of Natural Language Processing (NLP) based on Artificial Intelligence (AI) which can simulate a conversation between users like via an SMS application, website, private chatroom, or via a mobile application. This research was conducted in Lhokseumawe City by creating a chatbot application with data modeling obtained from the Lhokseumawe City Government. This research aims to make it easier for tourists or local residents to find information related to Lhokseumawe City. The data model built is evaluated by using K-Nearest Neighbor algorithm. The data modeling in this research consisted of 600 data models which were evaluated 400 times to find the best data model to use in the chatbot. The results showed that the level of accuracy on the 400th test was 100% with a loss rate of 0.0352

Downloads

Download data is not yet available.

References

[1] Retno, S., & Hasdyna, N. 2022. PURITY & PROFILE MATCHING APPROACH TO DETERMINE THE GOVERNMENT AID RECIPIENT IN ACEH UTARA, INDONESIA. INFOKUM, 10(4), pp 83-90.
[2] Dinata, R. K., Bustami, B., Razi, A., & Arasyi, M. 2022. Algoritma Dijkstra dan Bellman-Ford dalam Sistem Pemetaan Barbershop di Kota Lhokseumawe. INFORMAL: Informatics Journal, 7(2), 128-137. doi:10.19184/isj.v7i2.33303.
[3] Hormansyah, D. S., & Utama, Y. P. 2018. APLIKASI CHATBOT BERBASIS WEB PADA SISTEM INFORMASI LAYANAN PUBLIK KESEHATAN DI MALANG DENGAN MENGGUNAKAN METODE TF-IDF, JIP Polinema, 4(3), pp 224-228.
[4] Afrianto, I., Irfan, M. F., & Atin, S. 2019. Aplikasi Chatbot Speak English Sebagai Media Pembelajaran Bahasa Inggris Berbasis Android. Komputika : Jurnal Sistem Komputer, 8(2), pp 99-109. doi:10.34010/komputika.v8i2,2273.
[5] Harahap, D. W., & Fitria, L. 2020. Aplikasi Chatbot Berbasis Web Menggunakan Metode Dialogflow. JICOM: Jurnal Informatika dan Teknologi Komputer, 1(1), pp 6-13.
[6] Mukhtar, H., Gunawan, R., Hariyanto, A., Syahril, S., & Mulyana, Wide. 2022. Peramalan Kedatangan Wisatawan ke Suatu Negara Menggunakan Metode Support Vector Machine (SVM). CoSciTech 3(3), pp. 274–282. doi.org/10.37859/coscitech.v3i3.4211
[7] Raina, V., Krishnamurthy, S., Raina, V., & Krishnamurthy, S. 2022. Natural language processing. Building an Effective Data Science Practice: A Framework to Bootstrap and Manage a Successful Data Science Practice. Springer International Publishing. pp 63-73
[8] Adamopoulou, E., & Moussiades, L. 2020. An overview of chatbot technology. In Artificial Intelligence Applications and Innovations: 16th IFIP WG 12.5 International Conference, AIAI 2020, Neos Marmaras, Greece, June 5–7, 2020, Proceedings, 2(16) pp. 373-383.
[9] Hasdyna, N., & Retno, S. 2022. Machine Learning Approach to Determine the Drug-Prone Areas in Lhokseumawe City, Indonesia. International Journal of Multidiciplinary Research and Analysis, 5(9). pp 2354-2464.
[10] Kurniawan, I., & Sulistyowati, D. R., & Maulana, Y.2022. Penerapan Seleksi Fitur Median Weighted Information Gain dengan K-NN pada Dataset Label Hours Software Effort Estimation. CoSciTech 3(2), pp 52-57. doi.org/10.37859/coscitech.v3i2.3876
[11] Guntara, G. R. 2022. Aplikasi Pendeteksi Penyakit Telinga Berbasis Android menggunakan API Clarifai dan K-Nearest Neighbor. CoSciTech 3(2), pp 81-90. doi.org/10.37859/coscitech.v3i2.3862.
[12] Baby, C. J., Khan, F. A., & Swathi, J. N. 2017. Home automation using IoT and a chatbot using natural language processing. In 2017 Innovations in Power and Advanced Computing Technologies (i-PACT) pp 1-6. IEEE.
[13] Kuryanti, S. J., & Indriani, N. 2018. Pembuatan Website Sebagai Sarana Promosi Pariwisata: (Studi Kasus :Pantai Jatimalang, Purworejo). Sinkron : Jurnal Dan Penelitian Teknik Informatika, 2(2), 37-46.
[14] Hasan, M. A., & Nasution, N. 2018. Rancang Bangun Aplikasi Pembuatan Web Blog Berbasis Web Menggunakan HTML5. INOVTEK Polbeng-Seri Informatika, 3(1), 68-72.
Published
2023-04-30
How to Cite
Sujacka Retno, Rozzi Kesuma Dinata, & Novia Hasdyna. (2023). Evaluation of chatbot data model in natural language processing using k-nearest neighbor. Jurnal CoSciTech (Computer Science and Information Technology), 4(1), 146-153. https://doi.org/10.37859/coscitech.v4i1.4690
Abstract views: 212 , PDF downloads: 223