Machine learning-based sentiment analysis to determine social perception of Generation Z on Twitter/X
Frontiers in Computer Science · 22.07.2026 · 8
DOI: 10.3389/fcomp.2026.1807842 ↗Kurz gefasst
Fachartikel in der Zeitschrift Frontiers in Computer Science, online erschienen am 22.07.2026. Verfasst von Hugo Vega-Huerta und 11 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 40 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
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.”
Zitieren
APA
Vega-Huerta, H., Casaperalta-Pacheco, L., López-Córdova, F., Camara-Figueroa, A., Gil-Calvo, R., Enriquez, W., Lázaro-Guillermo, J. C., Flores, J. I. V., Chauca, M., Cuya-Camara, J. L., Adrianzén-Olano, I., & Rodriguez-Zevallos, K. V. (2026). Machine learning-based sentiment analysis to determine social perception of Generation Z on Twitter/X. Frontiers in Computer Science, 8. https://doi.org/10.3389/fcomp.2026.1807842
Vancouver
Vega-Huerta H, Casaperalta-Pacheco L, López-Córdova F, Camara-Figueroa A, Gil-Calvo R, Enriquez W, et al. Machine learning-based sentiment analysis to determine social perception of Generation Z on Twitter/X. Frontiers in Computer Science. 2026;8. doi:10.3389/fcomp.2026.1807842
BibTeX
@article{VegaHuerta2026,
author = {Vega-Huerta, Hugo and Casaperalta-Pacheco, Luis and López-Córdova, Frida and Camara-Figueroa, Adegundo and Gil-Calvo, Rubén and Enriquez, William and Lázaro-Guillermo, Juan Carlos and Flores, Jessy Isabel Vargas and Chauca, Mario and Cuya-Camara, Jose Luis and Adrianzén-Olano, Ivan and Rodriguez-Zevallos, Katherin Vanessa},
title = {Machine learning-based sentiment analysis to determine social perception of Generation Z on Twitter/X},
journal = {Frontiers in Computer Science},
year = {2026},
volume = {8},
doi = {10.3389/fcomp.2026.1807842}
}
EUVIMED