The Use of Machine Learning in Online Course Sentiment Analysis: A Case Study Post COVID-19 Pandemic

  • Darwan Darwan Department of Informatics, Universitas Islam Negeri Siber Syekh Nurjati Cirebon, West Java, Indonesia https://orcid.org/0000-0003-3744-7351
  • Sirojudin Wahid Department of Informatics, Universitas Islam Negeri Siber Syekh Nurjati Cirebon, West Java, Indonesia https://orcid.org/0000-0002-0468-1574
  • Fajar Hardoyono Department of Environmental Science, Universitas Islam Negeri Professor Kiai Haji Saifuddin Zuhri, Purwokerto, Central Java, Indonesia. https://orcid.org/0000-0003-2813-9568
  • Indra Indra Information Technology, Universitas Budi Luhur, Tangerang, Indonesia. https://orcid.org/0000-0002-8180-4849
  • Muhammad Hikmal Department of Mathematics Education, Universitas Islam Negeri Siber Syekh Nurjati Cirebon, West Java, Indonesia https://orcid.org/0009-0009-5410-3033

Abstract

The number of tweets on Twitter containing information related to online lectures in the post-pandemic Covid-19 period or after the government lifted the pandemic period has drawn many pros and cons. This research discusses the best level of accuracy of the three machine learning methods, namely Naïve Bayes (NB), Decision Tree (DT) and Support Vector Machine (SVM) in analyzing Twitter results related to online lectures. The data used is crawled data from Twitter using the keyword “Online Lecture” and 5,978 tweets were obtained after verification. Three category labels were used in this research, namely Positive, Negative and Neutral. Pre-processing was carried out using the stages of Data Cleansing, Tokenizing, Stopword, Normalization and Stemming. While the feature extraction stage uses the TF-IDF stage. The average accuracy results for the NB method are 78.02%, precision is 78.18%, recall is 78.02% and f1-score is 77.45%. DT obtained an average accuracy of 86%, precision is 89.14%, recall is 81.14% and f1-score is 82.31%. The average accuracy obtained by SVM is 89%, precision 90.97%, recall 87.31%, and the F1 score is 85.99%. Among the three algorithms, it is known that SVM achieves very good performance in online lecture sentiment analysis based on Twitter data.

Downloads

Download data is not yet available.
Published
2026-04-27
How to Cite
Darwan, D., Wahid, S., Hardoyono, F., Indra, I., & Hikmal, M. (2026). The Use of Machine Learning in Online Course Sentiment Analysis: A Case Study Post COVID-19 Pandemic. ITEGAM-JETIA, 12(58), 696-709. https://doi.org/10.5935/jetia.v12i58.2912
Section
Articles