EKSAKTA: Berkala Ilmiah Bidang MIPA
Open Access

Classification of Covid-19 Vaccine Sentiment Using K-Nearest Neighbor and Fasttext on Twitter

1 Department of Informatic Engineering, Faculty of Science and Technology, Universitas Islam Negeri Sultan Syarif Kasim Riau, Riau, Indonesia
Download PDF

Abstract

 In late 2019 came a flu-like illness that infected the lungs in the city of Wuhan. It is suspected that the disease is suspected to have originated in bats. WHO named this disease Covid-19 and the virus spread throughout the world, causing a pandemic. The government took a vaccination drive to overcome this virus, but received a response of pros and cons from the public. There are many studies that discuss people's sentiments towards vaccination, one of which is the classification of sentiments. This study discusses the classification of sentiment towards covid-19 vaccines using the K-Nearest Neighbor and Fasttext algorithms on twitter. Data is obtained by crawling using the pyton programming language and Twitter API.  Data labeling is carried out by crowdsourcing and majority voting techniques.  The data used after the balancing process are 6000 training data, 778 development data and 400 test data.  The test results after various experiments and feature engineering got the best results with an accuracy value of 69% and an f1-score of 60%. This result is the best result compared to previous studies with the same dataset.

References

1
Makmun, A., & Hazhiyah, S. F. (2020). Tinjauan Terkait Pengembangan Vaksin Covid 19. Molucca Medica, 52-59.
2
Haque, A., & Pant, A. B. (2020). Efforts at COVID-19 vaccine development: challenges and successes. Vaccines, 8(4), 739.
3
Sohrabi, C., Alsafi, Z., O'neill, N., Khan, M., Kerwan, A., Al-Jabir, A., ... & Agha, R. (2020). World Health Organization declares global emergency: A review of the 2019 novel coronavirus (COVID-19). International journal of surgery, 76, 71-76.
4
Cucinotta, D., & Vanelli, M. (2020). WHO declares COVID-19 a pandemic. Acta bio medica: Atenei parmensis, 91(1), 157.
5
Laurensz, B., & Sediyono, E. (2021). Analisis Sentimen Masyarakat terhadap Tindakan Vaksinasi dalam Upaya Mengatasi Pandemi Covid-19. Jurnal Nasional Teknik Elektro dan Teknologi Informasi, 10(2).
Downloads
Download data is not yet available.

How to Cite

1.
Classification of Covid-19 Vaccine Sentiment Using K-Nearest Neighbor and Fasttext on Twitter. EKSAKTA [Internet]. 2024 Sep. 30 [cited 2026 Aug. 22];25(03):362-71. Available from: https://eksakta.ppj.unp.ac.id/index.php/eksakta/article/view/384