Combining Synthetic Minority Over-Sampling Technique and Multinomial Naive Bayes for Sentiment Analysis on Imbalanced Social Media Datasets


Abstract:

Sentiment analysis on social media poses a significant challenge for researchers in the field of Natural Language Processing (NLP) due to the informal, ambiguous, and dynamic nature of the language used by users. This research proposes a methodology that combines the Synthetic Minority Over-sampling Technique (SMOTE) with the Multinomial Naive Bayes (MNB) classifier to enhance performance in sentiment classification tasks on imbalanced datasets. The methodological process includes text cleaning, stopword removal, and lemmatization, followed by vectorization using Term Frequency–Inverse Document Frequency (TF-IDF) to represent lexical features. The Chi-squared test is applied to select the most discriminative features, and hyperparameter optimization is carried out using GridSearchCV with cross-validation. The method was evaluated using a cyberbullying dataset of posts labeled with positive and negative polarity. Evaluation metrics include accuracy, precision, recall, F1-score, and the confusion matrix. Experimental results demonstrate that the proposed approach improves model performance, achieving an accuracy of 88.99%, a precision of 89.14%, a recall of 88.99%, and an F1-score of 88.85%, showing the effectiveness of the SMOTE + Naive Bayes combination in mitigating class imbalance.

Año de publicación:

2026

Keywords:

  • Machine Learning
  • Multinomial Naive Bayes
  • Natural language processing (NLP)
  • sentiment analysis
  • SMOTE (Synthetic Minority Over-sampling Technique)

Fuente:

scopusscopus

Tipo de documento:

Other

Estado:

Acceso restringido

Áreas de conocimiento:

  • Aprendizaje automático
  • Ciencias de la computación
  • Redes sociales

Áreas temáticas de Dewey:

  • Métodos informáticos especiales
  • Interacción social
  • Programación informática, programas, datos, seguridad
Procesado con IAProcesado con IA

Objetivos de Desarrollo Sostenible:

  • ODS 10: Reducción de las desigualdades
  • ODS 16: Paz, justicia e instituciones sólidas
  • ODS 4: Educación de calidad
Procesado con IAProcesado con IA