Emotion Prediction Using Natural Language Processing: A Performance Evaluation of Supervised Machine Learning Models for Classification Tasks

Article Sidebar

Main Article Content

Dennis S. Nava
Roman B. Villones

This study discusses the usage of machine learning algorithms in the detection of emotions. It helps to fill the gap between the human understanding of emotions and the artificial intelligence being developed, both in relation to technological progress and human-machine interactions. Applying the KDD process to NLP systematically involves identifying, preprocessing, mining patterns, and interpreting textual data. Techniques of Data Mining, like Logistic Regression, Linear SVC, and Multinomial Naïve Bayes, have been applied for the purpose, accompanied by metrics like Classification Reports for Precision, Recall, F1-score, and Accuracy and k-fold cross-validation for a very robust and accurate analysis of the unstructured text domain. Logistic Regression remained the most scoring model of 90%. Its score now was a few percentage points smaller than its training score. As expected, this time Linear SVC found itself in second place with an 88%, and Multinomial Naïve Bayes also stayed in third place on 86%. With cross-validation applied, Logistic Regression proves to be the most reliable model for this NLP study. It scores high and is quite generalizable and stable, thus suitable for deployment in scenarios where robustness and consistency are essential. Potential further improvements to such models could involve hyperparameter and fine-tuning. By trying them out on much larger and varied datasets, they can be put through several checks for testing capabilities and limits within applications. One other extension involves ensemble techniques to build even stronger, more reliable solutions by merging different model strengths together.

Emotion Prediction Using Natural Language Processing: A Performance Evaluation of Supervised Machine Learning Models for Classification Tasks. (2026). International Journal of Latest Technology in Engineering Management & Applied Science, 15(1), 590-599. https://doi.org/10.51583/IJLTEMAS.2026.150100052

Downloads

References

Al Maruf, A., Khanam, F., Haque, M. M., Jiyad, Z. M., Mridha, M. F., & Aung, Z. (2024). Challenges and opportunities of text-based emotion detection: A survey. IEEE access, 12, 18416-18450.

Aldoseri, A., Al-Khalifa, K. N., & Hamouda, A. M. (2024). AI-powered innovation in digital transformation: Key pillars and industry impact. Sustainability, 16(5), 1790.

Álvarez-Carmona, M. Á., Aranda, R., Rodríguez-Gonzalez, A. Y., Fajardo-Delgado, D., Sánchez, M. G., Pérez-Espinosa, H., Martínez-Miranda, J., Guerrero-Rodríguez, R., Bustio-Martínez, L., & Díaz-Pacheco, Á. (2022). Natural language processing applied to tourism research: A systematic review and future research directions. Journal of king Saud university-computer and information sciences, 34(10), 10125-10144.

Almohimeed, A., Saad, R. M., Mostafa, S., El-Rashidy, N. M., Farrag, S., Gaballah, A., Elaziz, M. A., El-Sappagh, S. & Saleh, H. (2023). Explainable artificial intelligence of multi-level stacking ensemble for detection of Alzheimer’s disease based on particle swarm optimization and the sub-scores of cognitive biomarkers. Ieee Access, 11, 123173-123193.

Cowen, A. S., & Keltner, D. (2021). Semantic space theory: A computational approach to emotion. Trends in Cognitive Sciences, 25(2), 124-136.

Dhanya, V. G., Subeesh, A., Kushwaha, N. L., Vishwakarma, D. K., Kumar, T. N., Ritika, G., & Singh, A. N. (2022). Deep learning based computer vision approaches for smart agricultural applications. Artificial Intelligence in Agriculture, 6, 211-229.

Guo, Z., Lai, A., Thygesen, J. H., Farrington, J., Keen, T., & Li, K. (2024). Large language models for mental health applications: systematic review. JMIR mental health, 11(1), e57400.

Hung, L. P., & Alias, S. (2023). Beyond sentiment analysis: A review of recent trends in text based sentiment analysis and emotion detection. Journal of Advanced Computational Intelligence and Intelligent Informatics, 27(1), 84-95.

Kalateh, S., Estrada-Jimenez, L. A., Nikghadam-Hojjati, S., & Barata, J. (2024). A systematic review on multimodal emotion recognition: building blocks, current state, applications, and challenges. IEEE Access, 12, 103976-104019.

Kišjuhas, A. (2024). What holds society together? Emotions, social ties, and group solidarity in leisure interaction rituals. Leisure Studies, 43(3), 363-377.

Khan, A. A., Chaudhari, O., & Chandra, R. (2024). A review of ensemble learning and data augmentation models for class imbalanced problems: Combination, implementation and evaluation. Expert Systems with Applications, 244, 122778.

Mahfoudi, M. A., Meyer, A., Gaudin, T., Buendia, A., & Bouakaz, S. (2022). Emotion expression in human body posture and movement: A survey on intelligible motion factors, quantification and validation. IEEE Transactions on Affective Computing, 14(4), 2697-2721.

Nandwani, P., & Verma, R. (2021). A review on sentiment analysis and emotion detection from text. Social network analysis and mining, 11(1), 81.

Tapeh, A. T. G., & Naser, M. Z. (2023). Artificial intelligence, machine learning, and deep learning in structural engineering: a scientometrics review of trends and best practices. Archives of Computational Methods in Engineering, 30(1), 115-159.

Wankhade, M., Rao, A. C. S., & Kulkarni, C. (2022). A survey on sentiment analysis methods, applications, and challenges. Artificial Intelligence Review, 55(7), 5731-5780.

Article Details

How to Cite

Emotion Prediction Using Natural Language Processing: A Performance Evaluation of Supervised Machine Learning Models for Classification Tasks. (2026). International Journal of Latest Technology in Engineering Management & Applied Science, 15(1), 590-599. https://doi.org/10.51583/IJLTEMAS.2026.150100052