Impact of cosine similarity function on SVM algorithm for public opinion mining about national sports week 2024 on X
DOI:
https://doi.org/10.26555/jiteki.v11i2.30605Abstract
National Sports Week (Indonesian: Pekan Olahraga Nasional PON, abbreviated as PON) is a multi-sport event held every four years in Indonesia. It has been held in Aceh and North Sumatra in 2024. There were many issues and public opinions about the event on social media X and it became a trending topic. The opinion can be feedback maintained or improved for upcoming PON. This research analyzes the sentiment of public opinion about PON on X social media using the Support Vector Machine (SVM) algorithm. Usually, SVM algorithm has good performance with Kernel function. Unfortunately, the function does not design as text similarity function. This study proposed cosine similarity to substituted Kernel function on the algorithm. The dataset obtained from X social media through web scraping techniques, labeled as positive, neutral, or negative sentiment. The dataset goes through data pre-processing stages, such as text cleaning, tokenization, and removal of irrelevant words. The analysis was completed using two scenarios: the baseline SVM algorithm and the SVM algorithm with cosine similarity function. The results showed that the model with cosine similarity function improved performance by 3.3-6.3%, with 88.73% accuracy, 88.3% precision, 89.3% recall, and 88.3% F1 score. The analysis also identified negative sentiments related to referee performance and specific sports. In contrast, positive sentiment focused on support for the contingent and appreciation for medals. This study confirms the value of sentiment analysis as an evaluation method that can provide insights for organizers of major sporting events like PON, particularly in improving dissatisfied aspects while maintaining favorable features.
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Abil Mansyur, Ichwanul Muslim Karo Karo, Muliawan Firdaus, Elmanani Simamora, Muhammad Badzlan Darari, Rizki Habibi, Suvriadi Panggabean

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with JITEKI agree to the following terms:
- Authors retain copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC BY-SA 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.
This work is licensed under a Creative Commons Attribution 4.0 International License