Saltar al contenido
República del Perú · Observatorio de la producción científica universitaria
OApol.org Observatorio de Inteligencia Científica Universitaria del Perú
OApol.org
Inicio Universidades Publicaciones Investigadores
Repositorios
Tesis y trabajos académicosRevistas
Indicadores
Ranking trimestralRanking por carreraObjetivos de Desarrollo SostenibleReporte OCDERed neuronal 3D
Acerca
MetodologíaPrivacidad

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

Vega-Huerta H.; Casaperalta-Pacheco L.; López-Córdova F.; Camara-Figueroa A.; Gil-Calvo R.; Enriquez W.; Lázaro-Guillermo J.C.; Vargas Flores J.I.; Chauca M.; Cuya-Camara J.L.; Adrianzén-Olano I.; Rodriguez-Zevallos K.V. · Frontiers in Computer Science (2026) · DOI: 10.3389/fcomp.2026.1807842

Resumen

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.” Copyright

Instituciones: Universidad Nacional Mayor de San Marcos; Universidad Científica del Sur; Universidad Ricardo Palma; Universidad Nacional Toribio Rodríguez de Mendoza de Amazonas; Universidad Nacional Intercultural de la Amazonia