Real-time stress detection on social network posts using big data technology

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Nguyen, Hai-Yen Phan, Ly, Phi-Lan, Le, Duc-Manh, Do, Trong-Hop
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912108908642304
author Nguyen, Hai-Yen Phan
Ly, Phi-Lan
Le, Duc-Manh
Do, Trong-Hop
author_facet Nguyen, Hai-Yen Phan
Ly, Phi-Lan
Le, Duc-Manh
Do, Trong-Hop
contents In the context of modern life, particularly in Industry 4.0 within the online space, emotions and moods are frequently conveyed through social media posts. The trend of sharing stories, thoughts, and feelings on these platforms generates a vast and promising data source for Big Data. This creates both a challenge and an opportunity for research in applying technology to develop more automated and accurate methods for detecting stress in social media users. In this study, we developed a real-time system for stress detection in online posts, using the "Dreaddit: A Reddit Dataset for Stress Analysis in Social Media," which comprises 187,444 posts across five different Reddit domains. Each domain contains texts with both stressful and non-stressful content, showcasing various expressions of stress. A labeled dataset of 3,553 lines was created for training. Apache Kafka, PySpark, and AirFlow were utilized to build and deploy the model. Logistic Regression yielded the best results for new streaming data, achieving 69,39% for measuring accuracy and 68,97 for measuring F1-scores.
format Preprint
id arxiv_https___arxiv_org_abs_2411_04532
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Real-time stress detection on social network posts using big data technology
Nguyen, Hai-Yen Phan
Ly, Phi-Lan
Le, Duc-Manh
Do, Trong-Hop
Machine Learning
In the context of modern life, particularly in Industry 4.0 within the online space, emotions and moods are frequently conveyed through social media posts. The trend of sharing stories, thoughts, and feelings on these platforms generates a vast and promising data source for Big Data. This creates both a challenge and an opportunity for research in applying technology to develop more automated and accurate methods for detecting stress in social media users. In this study, we developed a real-time system for stress detection in online posts, using the "Dreaddit: A Reddit Dataset for Stress Analysis in Social Media," which comprises 187,444 posts across five different Reddit domains. Each domain contains texts with both stressful and non-stressful content, showcasing various expressions of stress. A labeled dataset of 3,553 lines was created for training. Apache Kafka, PySpark, and AirFlow were utilized to build and deploy the model. Logistic Regression yielded the best results for new streaming data, achieving 69,39% for measuring accuracy and 68,97 for measuring F1-scores.
title Real-time stress detection on social network posts using big data technology
topic Machine Learning
url https://arxiv.org/abs/2411.04532