A contest of sentiment analysis: k-nearest neighbor versus neural network

Fachrul Kurniawan, Triyo Supriyatno

Abstract


Discourse about public matters often encompasses sentences that address topics emerging within societal contexts, including issues related to Islamophobia. Debates surrounding this subject frequently evoke support and opposition within digital platforms and interpersonal interactions. Categorizing such dialogic expressions within online media facilitates an evaluation of their negative and positive implications. This study employs two distinct methodologies, specifically deep learning and machine learning techniques, to visualize the findings by implementing dual algorithms. According to the comparative analysis, deep learning achieves a higher accuracy rate of 78%, whereas machine learning achieves a rate of 71%. Thus, deep learning is a better method for textual data classification.

Keywords


Classification; Deep learning; K-nearest neighbor; Machine learning; Neural network

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v14.i2.pp1625-1633

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

View IJAI Stats