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 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
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 Internet2025-10-11Cited by 1

Intelligent Control Approaches for Warehouse Performance Optimisation in Industry 4.0 Using Machine Learning

Ádám Francuz, Tamás Bányai

In conventional logistics optimization problems, an objective function describes the relationship between parameters. However, in many industrial practices, such a relationship is unknown, and only observational data is available. The objective of the research is to use machine l…

View free PDFSource page
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 Internet2025-05-31Cited by 3

Hybrid Model for Novel Attack Detection Using a Cluster-Based Machine Learning Classification Approach for the Internet of Things (IoT)

Naveed Ahmed, Md Asri Ngadi, Abdulaleem Ali Almazroi, Nouf Atiahallah Alghanmi

To combat the growing danger of zero-day attacks on IoT networks, this study introduces a Cluster-Based Classification (CBC) method. Security vulnerabilities have become more apparent with the growth of IoT devices, calling for new approaches to identify unique threats quickly. T…

View free PDFSource page