project

NLP Project: Sentiment Analysis of Indonesia’s 2019 Presidential Election Tweets

As part of Team NLP A, I contributed to a project aimed at analyzing public sentiment on Twitter during the 2019 Indonesian presidential election. The goal was to classify 1,815 tweets into positive, neutral, or negative sentiments to gain insights into public opinion and sentiment trends during this major political event.

🎯 Project Objectives

  • Analyze sentiment polarity (positive, neutral, negative) from Twitter data during Pilpres 2019.
  • Compare multiple machine learning and deep learning models for sentiment classification.
  • Derive insights into public opinion trends based on model predictions.

πŸ“‚ Dataset

  • Twitter dataset related to Indonesia’s 2019 Presidential Election (Pilpres).
  • Preprocessed for noise reduction, tokenization, and normalization.

πŸš€ Models and Approaches

  • TransformerEncoder
  • IndoBERT (base-uncased and base-p2)
  • RoBERTa (Indonesian version)
  • LSTM and BiLSTM
  • CNN-BiLSTM
  • SVM Classifier
  • Random Forest
  • Gradient Boosting Classifier

πŸ“ˆ Evaluation Results (Accuracy)

ModelTrainingTesting
TransformerEncoder0.940.61
IndoBERT (base-uncased)0.970.62
IndoBERT (base-p2)0.660.42
RoBERTa (Indonesian)0.720.59
LSTM0.960.50
BiLSTM0.990.54
CNN-BiLSTM0.980.55
SVM0.930.60
Random Forest0.990.58
Gradient Boosting0.820.56

πŸ›  Key Contributions

  • Data preprocessing and exploratory data analysis (EDA).
  • Model development and fine-tuning.
  • Performance evaluation and comparative analysis.

πŸ‘₯ Team Members

  • Aswin
  • Wiliy
  • Rohaldi

πŸ”— GitHub Repository

View Project on GitHub

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Index