The Effect of Grid Search-Based Hyperparameter Tuning on Multinomial Naïve Bayes Model Performance in Classifying Stress Levels Among University Students

Stress among university students is an increasingly prominent issue, given the high levels of academic, social, and emotional pressures they encounter. Early identification of stress indicators is essential to prevent the development of more severe mental health issues. This study investigates the effect of hyperparameter tuning using grid search on the performance of a Multinomial Naïve Bayes (MNB) model for classifying student stress levels. The dataset was collected via web scraping from social media platforms where students express their emotions and experiences. Text preprocessing and feature extraction were performed using the TFIDF method, and stress levels were categorized into three classes: No Stress (0), Mild Stress (1), and High Stress (2). The MNB model was trained and evaluated using k-fold crossvalidation, with performance assessed via accuracy, precision, recall, and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{F 1}$</tex>-score. Results indicate that grid search-based hyperparameter tuning significantly improved classification performance, increasing accuracy from 72.3% to 79.6%. These findings highlight that even simple models like Naïve Bayes can benefit substantially from systematic hyperparameter optimization, particularly in the context of stress detection from student-generated text data.

Authors

Institutions

Publication Details

Published
2025-09-03
DOI
https://doi.org/10.1109/iciss66954.2025.11389664
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Effect of Grid Search-Based Hyperparameter Tuning on Multinomial Naïve Bayes Model Performance in Classifying Stress Levels Among University Students

Manik Hapsara, Maria Susan Anggreainy
Mental Health via Writing
article

The Effect of Grid Search-Based Hyperparameter Tuning on Multinomial Naïve Bayes Model Performance in Classifying Stress Levels Among University Students

Manik Hapsara, Maria Susan Anggreainy
article en

Abstract

Stress among university students is an increasingly prominent issue, given the high levels of academic, social, and emotional pressures they encounter. Early identification of stress indicators is essential to prevent the development of more severe mental health issues. This study investigates the effect of hyperparameter tuning using grid search on the performance of a Multinomial Naïve Bayes (MNB) model for classifying student stress levels. The dataset was collected via web scraping from social media platforms where students express their emotions and experiences. Text preprocessing and feature extraction were performed using the TFIDF method, and stress levels were categorized into three classes: No Stress (0), Mild Stress (1), and High Stress (2). The MNB model was trained and evaluated using k-fold crossvalidation, with performance assessed via accuracy, precision, recall, and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{F 1}$</tex>-score. Results indicate that grid search-based hyperparameter tuning significantly improved classification performance, increasing accuracy from 72.3% to 79.6%. These findings highlight that even simple models like Naïve Bayes can benefit substantially from systematic hyperparameter optimization, particularly in the context of stress detection from student-generated text data.

Binus University (ID), Coventry University (GB)
Openalex Percentile: Top 19%
Mental Health via Writing
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.

The Effect of Grid Search-Based Hyperparameter Tuning on Multinomial Naïve Bayes Model Performance in Classifying Stress Levels Among University Students — Manik Hapsara, Maria Susan Anggreainy · (2025) | TGRS Research Map | TGRS