CORTEXA
← Browse
crossrefFuture Internet2026-04-20Cited by 0

Classification Model of Emotional Tone in Hate Speech and Its Relationship with Inequality and Gender Stereotypes, Using NLP and Machine Learning Algorithms

Aymé Escobar Díaz, Ricardo Rivadeneira, Walter Fuertes, Washington Loza

Hate speech on social media reproduces norms of inequality and gender stereotypes, disproportionately affecting women. This study proposes a hybrid approach that integrates emotional tone classification with explicit hostility detection to strengthen preventive moderation. We constructed a corpus from three open data sets (1,236,371 records; 1,003,991 after ETL) and represented the text using TF-IDF and contextual RoBERTa embeddings. We trained individual models (RoBERTa fine-tuned, Random Forest, and XGBoost) and a stacking metamodel (Gradient Boosting) that combines their probabilities. On the test set, the ensemble outperformed the base classifiers, achieving accuracy of 0.93 in hate detection and 0.90 in emotion classification, with an AUC of 0.98 for emotion classification. We implemented a RESTful API and a web client to validate the moderation flow before publication, along with an administration panel for auditing. Performance tests in a prototype deployment (Google Colab exposed through an Ngrok tunnel) provided proof-of-concept validation, revealing concurrency limitations from around 300 users due to infrastructure constraints. In general, the results indicate that incorporating emotional tone analysis improves the model’s ability to identify implicit hostility and offers a practical way to promote safer digital environments. The probabilistic outputs produced by the ensemble model were subsequently analyzed using the Bayesian Calibration and Optimal Design under Asymmetric Risk (BACON-AR) framework, which serves as a mathematical post hoc decision layer for evaluating classification behaviour under unequal error costs. Rather than modifying the trained architecture or improving its predictive performance, the framework identifies a cost-sensitive operating threshold that minimizes the total expected risk under the selected asymmetric cost configuration. The experiments were conducted using an English-language data set; therefore, the findings of this study are limited to hate speech detection in English.

View free PDFSource page

Related papers

crossrefFuture Internet2025-02-05Cited by 1

Ubunye: An MEC Orchestration Service Based on QoE, QoS, and Service Classification Using Machine Learning

Kilbert Amorim Maciel, David Martins Leite, Guilherme Alves de Araújo, Flavia C. Delicato, Atslands R. Rocha

The increasing adoption of Internet of Things devices has led to a significant demand for cloud services, where latency and bandwidth play a crucial role in shaping users’ perception of network service quality. However, the use of cloud services with the desired quality is not al…

View free PDFSource page
crossrefFuture Internet2023-06-09Cited by 11

Enhancing IoT Device Security through Network Attack Data Analysis Using Machine Learning Algorithms

Ashish Koirala, Rabindra Bista, Joao C. Ferreira

The Internet of Things (IoT) shares the idea of an autonomous system responsible for transforming physical computational devices into smart ones. Contrarily, storing and operating information and maintaining its confidentiality and security is a concerning issue in the IoT. Throu…

View free PDFSource page
crossrefFuture Internet2023-08-21Cited by 14

Detection of Man-in-the-Middle (MitM) Cyber-Attacks in Oil and Gas Process Control Networks Using Machine Learning Algorithms

Ugochukwu Onyekachi Obonna, Felix Kelechi Opara, Christian Chidiebere Mbaocha, Jude-Kennedy Chibuzo Obichere, Isdore Onyema Akwukwaegbu, Miriam Mmesoma Amaefule, et al.

Recently, the process control network (PCN) of oil and gas installation has been subjected to amorphous cyber-attacks. Examples include the denial-of-service (DoS), distributed denial-of-service (DDoS), and man-in-the-middle (MitM) attacks, and this may have largely been caused b…

View free PDFSource page
crossrefFuture Internet2024-05-12Cited by 23

Evaluating Realistic Adversarial Attacks against Machine Learning Models for Windows PE Malware Detection

Muhammad Imran, Annalisa Appice, Donato Malerba

During the last decade, the cybersecurity literature has conferred a high-level role to machine learning as a powerful security paradigm to recognise malicious software in modern anti-malware systems. However, a non-negligible limitation of machine learning methods used to train…

View free PDFSource page
crossrefFuture Internet2024-11-17Cited by 3

Enhanced Long-Range Network Performance of an Oil Pipeline Monitoring System Using a Hybrid Deep Extreme Learning Machine Model

Abbas Kubba, Hafedh Trabelsi, Faouzi Derbel

Leak detection in oil and gas pipeline networks is a climacteric and frequent issue in the oil and gas field. Many establishments have long depended on stationary hardware or traditional assessments to monitor and detect abnormalities. Rapid technological progress; innovation in…

View free PDFSource page