EUVIMEDEUVIMED entdecken
Crossref

Sentiment Classification of Cremation Vs Ngaben on Social Media X: A Lexicon-Based Comparison of SVM and KNN

I Wayan Angga Arditaloka, Ni Kadek Winda Patrianingsih

Jurnal PROCESSOR · 31.10.2026 · 21 (2)

DOI: 10.33998/processor.2026.21.2.3002 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Jurnal PROCESSOR, online erschienen am 31.10.2026. Verfasst von I Wayan Angga Arditaloka und 1 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The transition of some Balinese Hindus away from the conventional ngaben cremation ceremony toward modern crematorium services has become a widely discussed public topic on social media platform X, largely centered on concerns about cost, time, and the potential erosion of customary values. This study labels netizen sentiment on this issue using a lexicon-based approach and builds and evaluates an automatic classification model based on Support Vector Machine (SVM), benchmarked against K Nearest Neighbor (KNN), as a preliminary step toward designing a public opinion monitoring information system. A total of 841 mixed language tweets were gathered from platform X and narrowed to 533 Indonesian language records after preprocessing (case folding and removal of URLs, mentions, hashtags, punctuation, and numbers). lexicon-based labelling, using a sentiment dictionary purpose built for the Balinese cultural context, produced a distribution of 50.66% neutral, 44.28% positive, and 5.07% negative sentiment. The data were then TF IDF weighted and split 80:20 into stratified training and testing sets. Testing showed the linear kernel SVM reaching 82.24% accuracy, far ahead of KNN (K=5) at only 52.34% on the same data. Per class evaluation showed SVM performing well on the neutral and positive classes but still limited on the negative class (33% recall) because of class imbalance. These results suggest SVM is more reliable than KNN for high dimensional, class imbalanced text data, and can serve as a foundation for an automatic classification module within a public opinion monitoring system supporting cultural preservation policy in Bali.

Zitieren

APA

Arditaloka, I. W. A., & Patrianingsih, N. K. W. (2026). Sentiment Classification of Cremation Vs Ngaben on Social Media X: A Lexicon-Based Comparison of SVM and KNN. Jurnal PROCESSOR, 21(2). https://doi.org/10.33998/processor.2026.21.2.3002

Vancouver

Arditaloka IWA, Patrianingsih NKW. Sentiment Classification of Cremation Vs Ngaben on Social Media X: A Lexicon-Based Comparison of SVM and KNN. Jurnal PROCESSOR. 2026;21(2). doi:10.33998/processor.2026.21.2.3002

BibTeX
@article{Arditaloka2026,
  author = {Arditaloka, I Wayan Angga and Patrianingsih, Ni Kadek Winda},
  title = {Sentiment Classification of Cremation Vs Ngaben on Social Media X: A Lexicon-Based Comparison of SVM and KNN},
  journal = {Jurnal PROCESSOR},
  year = {2026},
  volume = {21},
  number = {2},
  doi = {10.33998/processor.2026.21.2.3002}
}
Kostenlos starten →