Sentiment Analysis of the Kampus Merdeka Program on Twitter Using Support Vector Machine and a Feature Extraction Comparison: TF-IDF vs. FastText

Lasmedi Afuan, Nurul Hidayat, Nofiyati Nofiyati, Mohamad Faris As'ad

Abstract


The Kampus Merdeka program, launched by the Indonesian Ministry of Education, Culture, Research, and Technology in 2020, aims to enhance students' skills through hands-on work experience. Considering the rising significance of social media, particularly Twitter, in gauging public opinion, this research focuses on analyzing the sentiment towards the Kampus Merdeka program. The primary objective is to classify the sentiments expressed in tweets related to the program and compare two feature extraction techniques—TF-IDF and FastText—to identify the best approach for transforming text data into numerical vectors. The sentiment classification model was built using the Support Vector Machine (SVM) algorithm, a machine learning technique known for its accuracy in text classification. A total of 16,730 tweets were collected and analyzed, yielding an accuracy of 73% for FastText and 72% for TF-IDF. Results show that FastText is more effective in capturing semantic relationships, leading to higher accuracy in sentiment classification. Findings indicate that the public sentiment towards the Kampus Merdeka program is predominantly positive (60.7%), with negative and neutral sentiments at 33.5% and 5.8%, respectively. The success of the FastText method underscores the importance of advanced feature extraction techniques in text classification. The novelty of this research lies in its use of FastText for educational policy evaluation, providing a new perspective on using sentiment analysis to assess public perception of educational programs.


Keywords


Sentiment Analysis; FastText; Kampus Merdeka, Support Vector Machine; TF-IDF; Twitter.

Full Text:

PDF

References


I. Deffinika, I. W. Putri, and K. B. Angin, “Higher Education and Training Towards Global Competitiveness and Human Development in Indonesia,” Geojournal of Tourism and Geosites , vol. 38, no. 4, pp. 1280–1288, 2021, doi: 10.30892/gtg.38436-770..

Link: http://gtg.webhost.uoradea.ro/PDF/GTG-4-2021/gtg.38436-770.pdf

H. Suharman and N. Hidayah, “Essentials of Intellectual Capital to Create Higher Education Sustainable Competitive Advantage: Environment Uncertainty as a Moderating Variable in Indonesia Private Universities,” International Journal of Economics and Business Administration, vol. IX, no. 1, pp. 382–391, 2021.

Link: https://ijeba.com/journal/680

R. W. Threnisa, "Evaluation of Internship Program Kampus Merdeka in the Community-Based Total Sanitation Facilitator Field at Community Health Center Dr. Soetomo," World Journal of Advanced Research and Reviews, vol. 22, no. 2, pp. 1383–1386, May 2024, doi: 10.30574/wjarr.2024.22.2.1524.

Link: https://wjarr.com/sites/default/files/WJARR-2024-1524.pdf

F. Fauzi, S. B. Abdinagoro, R. Kartono, A. Furinto, and M. Hamsal, "Extracting Public Opinion and Popularity of Islamic Bank in Indonesia: A Big Data of Social Media and Google Trends Approach," in E3S Web of Conferences, EDP Sciences, Sep. 2023, doi: 10.1051/e3sconf/202342602019.

Link: https://www.e3s-conferences.org/articles/e3sconf/pdf/2023/63/e3sconf_icobar23_02019.pdf

M. M. Zaheer and P. Nirmala, "An Efficient Approach to Detect Liver Disorder Using Customised SVM in Comparison with Random Forest Algorithm to Measure Accuracy," Cardiometry, no. 25, pp. 1024–1030, Feb. 2023, doi: 10.18137/cardiometry.2022.25.10241030.

Link: https://www.proquest.com/scholarly-journals/efficient-approach-detect-liver-disorder-using/docview/2777086636/se-2

A. Zakaria, R. R. Isnanto, and O. D. Nurhayati, "Particle Swarm Optimization and Support Vector Machine for Vehicle Type Classification in Video Stream," Int. J. Comput. Appl., vol. 182, no. 18, pp. 9–13, Sep. 2018, doi: 10.5120/ijca2018917880.

Link: https://www.ijcaonline.org/archives/volume182/number18/zakaria-2018-ijca-917880.pdf

M. M. Truşcă, "Efficiency of SVM Classifier with Word2Vec and Doc2Vec Models," in Proc. Int. Conf. Appl. Stat., vol. 1, no. 1, pp. 496–503, Oct. 2019, doi: 10.2478/icas-2019-0043.

Link: https://intapi.sciendo.com/pdf/10.2478/icas-2019-0043

A. K. Tegegnie, A. N. Tarekegn, and T. A. Alemu, "A Comparative Study of Flat and Hierarchical Classification for Amharic News Text Using SVM," Int. J. Inf. Eng. Electron. Bus., vol. 9, no. 3, pp. 36–42, May 2017, doi: 10.5815/ijieeb.2017.03.05.

Link: https://www.mecs-press.org/ijieeb/ijieeb-v9-n3/IJIEEB-V9-N3-5.pdf

I. Sharif and D. Chaudhuri, “A multiseed-based SVM classification technique for training sample reduction,” Turkish Journal of Electrical Engineering and Computer Sciences, vol. 27, no. 1, pp. 595–604, 2019, doi: 10.3906/elk-1801-157.

Link: https://journals.tubitak.gov.tr/cgi/viewcontent.cgi?article=1780&context=elektrik

Z. H. Kilimci and R. Duvar, "An Efficient Word Embedding and Deep Learning Based Model to Forecast the Direction of Stock Exchange Market Using Twitter and Financial News Sites: A Case of Istanbul Stock Exchange (BIST 100)," IEEE Access, vol. 8, pp. 188186–188198, 2020, doi: 10.1109/ACCESS.2020.3029860.

Link: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=9218927

J. Mutinda, W. Mwangi, and G. Okeyo, “Sentiment Analysis of Text Reviews Using Lexicon-Enhanced Bert Embedding (LeBERT) Model with Convolutional Neural Network,” Applied Sciences (Switzerland), vol. 13, no. 3, Feb. 2023, doi: 10.3390/app13031445.

Link: https://www.mdpi.com/2076-3417/13/3/1445

H. Wei, G. Lin, L. Li, and H. Jia, “A context-aware neural embedding for function-level vulnerability detection,” Algorithms, vol. 14, no. 11, Nov. 2021, doi: 10.3390/a14110335.

Link: https://www.mdpi.com/1999-4893/14/11/335

Z. H. Kilimci and R. Duvar, “An efficient word embedding and deep learning based model to forecast the direction of stock exchange market using twitter and financial news sites: A case of istanbul stock exchange (BIST 100),” IEEE Access, vol. 8, pp. 188186–188198, 2020, doi: 10.1109/ACCESS.2020.3029860.

Link: https://ieeexplore.ieee.org/document/9218927

T. Dodiya, “Using Term Frequency - Inverse Document Frequency to find the Relevance of Words in Gujarati Language,” Int J Res Appl Sci Eng Technol, vol. 9, no. 4, pp. 378–381, Apr. 2021, doi: 10.22214/ijraset.2021.33625.

Link: https://www.ijraset.com/fileserve.php?FID=33625

Z. Jiang, B. Gao, Y. He, Y. Han, P. Doyle, and Q. Zhu, “Text Classification Using Novel Term Weighting Scheme-Based Improved TF-IDF for Internet Media Reports,” Math Probl Eng, vol. 2021, 2021, doi: 10.1155/2021/6619088.

Link: https://onlinelibrary.wiley.com/doi/epdf/10.1155/2021/6619088

V. Vichianchai and S. Kasemvilas, “A New Term Frequency with Gaussian Technique for Text Classification and Sentiment Analysis,” Journal of ICT Research and Applications, vol. 15, no. 2, pp. 152–168, Oct. 2021, doi: 10.5614/itbj.ict.res.appl.2021.15.2.4.

Link: https://journals.itb.ac.id/index.php/jictra/article/view/15768/5417

D. Meidelfi, I. Rahmayuni, T. Hidayat, and D. Chandra, “TF-IDF Implementation for Similarity Checker on The Final Project Title,” International Journal of Advanced Science Computing and Engineering, vol. 3, no. 1, pp. 40–52, 2021.

Link: https://ijasce.org/index.php/IJASCE/article/view/3/77

F. Q. Pei, D. B. Li, Y. F. Tong, and F. He, "Process Service Quality Evaluation Based on Dempster-Shafer Theory and Support Vector Machine," PLoS One, vol. 12, no. 12, Dec. 2017, doi: 10.1371/journal.pone.0189189.

Link: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0189189

Z. Qian, Y. Gu, and W. Hong, “An Image Tampering Detection Algorithm of Qualification Certificate Based on CNN and SVM,” Academic Journal of Computing & Information Science, vol. 4, no. 7, 2021, doi: 10.25236/ajcis.2021.040705.

Link: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=9218927

B. Juba and H. S. Le, “Precision-Recall versus Accuracy and the Role of Large Data Sets,” in AAAI Conference on Artificial Intelligence, Association for the Advancement of Artificial Intelligence, 2019, p. 19. [Online]. Available: www.aaai.org

Link: https://ojs.aaai.org/index.php/AAAI/article/view/5193/5059




DOI: https://doi.org/10.47738/jads.v5i4.436

Refbacks

  • There are currently no refbacks.



Barcode

Journal of Applied Data Sciences

ISSN:2723-6471 (Online)
Publisher:Bright Publisher
Website:http://bright-journal.org/JADS
Email:taqwa@amikompurwokerto.ac.id (principal contact)
  support@bright-journal.org (technical issues)

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