Skip to content
Open access

Machine learning-based sentiment analysis to determine social perception of Generation Z on Twitter/X

Jul 2026 · Frontiers of Computer Science · Vol 8 · 0 citations · 37 references

TL;DR

This research develops a sentiment analysis model based on machine learning to understand public perception of this population group, providing valuable input for sociologists and organizations seeking to understand the dynamics of “Generation Z” or “Centennials.”

Abstract

The arrival of Generation Z in the social and work environment has sparked a heated debate on social media, marked by a division between innovative visions and critical stereotypes. This research develops a sentiment analysis model based on machine learning to understand public perception of this population group. Using a dataset obtained from Twitter/X through content and data extraction from the web with the Octoparse tool, three classification algorithms were trained and evaluated: Support Vector Machines (SVM), Random Forest, and Long Short-Term Memory (LSTM). Due to the class imbalance inherent in generational discussions, data balancing techniques (SMOTE, ADASYN) were applied. The results indicate that the Optuna-optimized LSTM model with SMOTE+Tomek balancing performed best with an accuracy of 82.39%, outperforming classical approaches. This tool allows for the identification of opinion trends (positive, negative, or neutral) about Generation Z, providing valuable input for sociologists and organizations seeking to understand the dynamics of “Generation Z” or “Centennials.”

Read PDF

Similar papers

Open access Aug 2026

SENTIMENT ANALYSIS OF TWITTER (X) RESPONSES USING NAÏVE BAYES: A CASE STUDY OF JUMBO

The rapid growth of social media platforms, especially Twitter (now rebranded as X), has made it a rich source for public opinion mining. This study focuses on analyzing public sentiment toward the animated “film Jumbo" by applying the Naïve Bayes Classifier algorithm to Twitter data. The research involves collecting t...

Nurasiah, Latifah Nur Zam Zami, Yunianto Agung Nugroho · 0 citations
Conference Aug 2026

Sentiment Analysis of Tweets on the 2023 France Riots Using an Enhanced Stacking Classifier

Social media platforms like Twitter increasingly accessed through immersive technologies and virtual environments like Metaverse, provide valuable insights into public opinions. This research analyzes tweets on the French riots of 2023 to gauge popular sentiment. A stacking classifier which can combine Naive Bayes, SVM...

S. R., Akshaya Jayaraj, C. Varghese et al. · 0 citations
Review Aug 2026

Applications of Machine Learning-based Sentiment Analysis in Marketing and Brand Monitoring

The analysis shows how an insight of sentiment can be utilized to determine a marketing campaign success, brand reputation, and comparative brand analysis, and affirm that sentiment analysis based on machine learning can allow data-driven marketing, increase customer interest, and proactive brand management.

Rakesh K. K., Nishath, D. Shaikh · 0 citations
Review Open access Aug 2026

Sentiment Analysis of Textual Data in Social Networks: A Survey of Existing Approaches

Examination of sentiment analysis methods applied to social media text data, covering lexicon-based, machine learning, and deep learning approaches, including transformerbased architectures, as well as widely used datasets, shows how sentiment analysis can be applied to the detection of threats that exploit human emoti...

Vusal Shahbazov · 0 citations
Open access Sep 2026

Comparison of Naive Bayes, SVM, and Logistic Regression for Sentiment Analysis of the Makan Bergizi Gratis Program

The Makan Bergizi Gratis Program (MBG) became one of the widely discussed public issues on platform X and generated diverse responses from users. These responses included supportive, critical, and neutral opinions, making sentiment analysis relevant for understanding public opinion toward the program. This study compar...

Andika, Julio Cesar Alessandro, Adjie Perkasa Tarigan et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.