YouTube Sentiment Analyzer for Modi (YSAM): Unlocking YouTube Comment Sentiments with Machine Learning and Visualization
Sentiment analysis has emerged as a critical field for understanding public opinion through textual data analysis. This study presents a comprehensive pipeline for sentiment analysis of YouTube comments regarding Indian Prime Minister Narendra Modi, utilizing machine learning techniques to identify complex patterns in public sentiment. The proposed methodology provides an effective approach for understanding citizen opinions through social media discourse analysis. The pipeline encompasses data extraction, preprocessing, vectorization using Term Frequency-Inverse Document Frequency (TF-IDF) and Bag of Words techniques, followed by classification using multiple machine learning models. A dataset comprising 3,000 comments was divided into training, validation, and testing subsets, with over-sampling techniques employed to address class imbalance issues. The ExtraTrees Classifier demonstrated superior performance, achieving 96% accuracy in sentiment classification. Additionally, this study presents a user-friendly sentiment analysis dashboard for real-time processing and visualization of sentiment patterns, highlighting the potential of machine learning applications in sentiment analysis and providing valuable insights for researchers and practitioners in computational social science.
Authors
- Sushree Sasmita Dash (ORCID: https://orcid.org/0000-0003-0235-6193)
- Arundhati Sasmal
- Sidhartha Panda (ORCID: https://orcid.org/0000-0003-0673-8615)
- Debasish Swapnesh Kumar Nayak (ORCID: https://orcid.org/0000-0001-5553-5692)
- Santanu Kumar Sahoo (ORCID: https://orcid.org/0000-0001-8324-3101)
- Ashis Kumar Ratha
Institutions
- IILM Institute for Higher Education (IN)
- Centurion University of Technology and Management (IN)
Publication Details
- Published
- 2025-07-25
- DOI
- https://doi.org/10.1109/isac364032.2025.11156254
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00