Comparing Random Forest and XGBoost for Sentiment Classification of Student Social Media Posts: A Case Study on Pre-Board Exam Stress

With the rise of social media, students have found a new way of expressing their emotions during high-stress situations such as a pre-board exam. These platforms create an enormous amount of textual information from which we can analyze a students' stress level and sentiment. This research analyzes how well two ensemble machine learning approaches, Random Forest (RF) and XGBoost, perform in classifying students’ sentiments based on social media posts. The dataset analyzed in this study consists of anonymized social media posts during the pre-board exam and was created specifically using a new preprocessing pipeline that helps in understanding the complexities posed by short, noisy and informal text. The pipeline included state of the art slang normalization using custom dictionaries and Term Frequency-Inverse Document Frequency (TF-IDF) for feature extraction. The models were extensively tested on the metrics of accuracy, precision, recall and F1 score. Results showed that while robust performance was made by RF, XGBoost outdid it across all metrics with accuracy of 88.9% alongside stellar performance in precision and recall. This indicates how well XGBoost generalizes and computes efficiently especially with class imbalance. The research not only explain the significance of pre-processing during a sentiment analysis but also helps performers polish their skills over time.

Authors

Institutions

Publication Details

Published
2025-05-09
DOI
https://doi.org/10.1109/ginotech63460.2025.11076620
Citations
1
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparing Random Forest and XGBoost for Sentiment Classification of Student Social Media Posts: A Case Study on Pre-Board Exam Stress

Mahesh Manchanda, Sumit Saklani, K. Thapa, Geetanjali Bisht
1 citations
Sentiment Analysis and Opinion Mining
2.48
article

Comparing Random Forest and XGBoost for Sentiment Classification of Student Social Media Posts: A Case Study on Pre-Board Exam Stress

Mahesh Manchanda, Sumit Saklani, K. Thapa, Geetanjali Bisht
article en
1 citations

Abstract

With the rise of social media, students have found a new way of expressing their emotions during high-stress situations such as a pre-board exam. These platforms create an enormous amount of textual information from which we can analyze a students' stress level and sentiment. This research analyzes how well two ensemble machine learning approaches, Random Forest (RF) and XGBoost, perform in classifying students’ sentiments based on social media posts. The dataset analyzed in this study consists of anonymized social media posts during the pre-board exam and was created specifically using a new preprocessing pipeline that helps in understanding the complexities posed by short, noisy and informal text. The pipeline included state of the art slang normalization using custom dictionaries and Term Frequency-Inverse Document Frequency (TF-IDF) for feature extraction. The models were extensively tested on the metrics of accuracy, precision, recall and F1 score. Results showed that while robust performance was made by RF, XGBoost outdid it across all metrics with accuracy of 88.9% alongside stellar performance in precision and recall. This indicates how well XGBoost generalizes and computes efficiently especially with class imbalance. The research not only explain the significance of pre-processing during a sentiment analysis but also helps performers polish their skills over time.

Graphic Era University (IN)
Openalex Percentile: Top 9%
Sentiment Analysis and Opinion Mining
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Comparing Random Forest and XGBoost for Sentiment Classification of Student Social Media Posts: A Case Study on Pre-Board Exam Stress — Mahesh Manchanda, Sumit Saklani, et al. · (2025) | TGRS Research Map | TGRS