Back to Search Start Over

Traditional Machine Learning Models and Bidirectional Encoder Representations From Transformer (BERT)-Based Automatic Classification of Tweets About Eating Disorders: Algorithm Development and Validation Study

Authors :
Benítez-Andrades, José Alberto
Alija-Pérez, José-Manuel
Vidal, Maria-Esther
Pastor-Vargas, Rafael
García-Ordás, María Teresa
Source :
JMIR Medical Informatics, Volume 10, Issue 2, 2022, ID e34492
Publication Year :
2024

Abstract

Background: Eating disorders are increasingly prevalent, and social networks offer valuable information. Objective: Our goal was to identify efficient machine learning models for categorizing tweets related to eating disorders. Methods: Over three months, we collected tweets about eating disorders. A 2,000-tweet subset was labeled for: (1) being written by individuals with eating disorders, (2) promoting eating disorders, (3) informativeness, and (4) scientific content. Both traditional machine learning and deep learning models were employed for classification, assessing accuracy, F1 score, and computational time. Results: From 1,058,957 collected tweets, transformer-based bidirectional encoder representations achieved the highest F1 scores (71.1%-86.4%) across all four categories. Conclusions: Transformer-based models outperform traditional techniques in classifying eating disorder-related tweets, though they require more computational resources.

Details

Database :
arXiv
Journal :
JMIR Medical Informatics, Volume 10, Issue 2, 2022, ID e34492
Publication Type :
Report
Accession number :
edsarx.2402.05571
Document Type :
Working Paper
Full Text :
https://doi.org/10.2196/34492