Skip to main navigation Skip to search Skip to main content

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

  • Maria Susan Anggreainy
  • , Manik Hapsara
  • Binus University

Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review

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 F1-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.
Original languageEnglish
Title of host publication2025 International Conference on ICT for Smart Society (ICISS)
PublisherIEEE
Pages1-4
Number of pages4
ISBN (Electronic)979-8-3315-6791-0
ISBN (Print)979-8-3315-6792-7
DOIs
Publication statusPublished - 24 Feb 2026
Event 2025 International Conference on ICT for Smart Society (ICISS) - Bandung, Indonesia
Duration: 3 Sept 20254 Sept 2025

Publication series

Name2025 International Conference on ICT for Smart Society, ICISS 2025

Conference

Conference 2025 International Conference on ICT for Smart Society (ICISS)
Country/TerritoryIndonesia
CityBandung
Period3/09/254/09/25

Funding

This work is supported by Bina Nusantara University as part of Bina Nusantara University's BINUS International Research - Applied entitled "Developing AI Models for Stress Level Prediction and Recommendations for Higher Education" with contract number: 085/VRRTT/V/2025.

FundersFunder number
Binus University085/VRRTT/V/2025

    UN SDGs

    This output contributes to the following UN Sustainable Development Goals (SDGs)

    1. SDG 3 - Good Health and Well-being
      SDG 3 Good Health and Well-being

    Keywords

    • stress levels
    • university students
    • Naïve Bayes
    • Grid Search
    • hyperparameter tuning

    Fingerprint

    Dive into the research topics of 'The Effect of Grid Search-Based Hyperparameter Tuning on Multinomial Naïve Bayes Model Performance in Classifying Stress Levels Among University Students'. Together they form a unique fingerprint.

    Cite this