Sentiment analysis of pilgrims using CNN-LSTM deep learning approach

Crowd management refers to the management and control of masses at specific locations. A Hajj gathering is an example. Hajj is the biggest gathering of Muslims worldwide. Over two million Muslims from all over the globe come annually to Makkah, Saudi Arabia. Authorities of Saudi Arabia strive to pro...

Full description

Saved in:
Bibliographic Details
Main Authors: Aisha Alasmari, Norah Farooqi, Youseef Alotaibi
Format: Article
Language:English
Published: PeerJ Inc. 2024-12-01
Series:PeerJ Computer Science
Subjects:
Online Access:https://peerj.com/articles/cs-2584.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850120738103623680
author Aisha Alasmari
Norah Farooqi
Youseef Alotaibi
author_facet Aisha Alasmari
Norah Farooqi
Youseef Alotaibi
author_sort Aisha Alasmari
collection DOAJ
description Crowd management refers to the management and control of masses at specific locations. A Hajj gathering is an example. Hajj is the biggest gathering of Muslims worldwide. Over two million Muslims from all over the globe come annually to Makkah, Saudi Arabia. Authorities of Saudi Arabia strive to provide comfortable comprehensive services to pilgrims using the latest modern technologies. Recent studies have focused on camera scenes and live streaming to assess the count and monitor the behavior of the crowd. However, the opinions of the pilgrims and their feelings about their experience of Hajj are not well known, and the data on social media (SM) is limited. This paper provides a combination of Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM) algorithms for sentiment analysis of pilgrims using a novel and specialized dataset, namely Catering-Hajj. The model is based on four CNN layers for local feature extraction after the One-Hot Encoder, and one LSTM layer to maintain long-term dependencies. The generated feature maps are passed to the SoftMax layer to classify final outputs. The proposed model is applied to a real case study of issues related to pre-prepared food at Hajj 1442. Started with collecting the dataset, extracting target attitudes, annotating the data correctly, and analyzing the positive, negative, and neutral attitudes of the pilgrims to this event. Our model is compared with a set of Machine Learning (ML) models including Support Vector Machine (SVM), Logistic Regression (LR), Decision Tree (DT), and Random Forest (RF), as well as CNN and LSTM models. The experimental results show that SVM, RF, and LSTM achieve the same rate of roughly 81%. LR and CNN achieve 79%, and DT achieves 71%. The proposed model outperforms other classifiers on our dataset by 92%.
format Article
id doaj-art-dde376869c364b36929d7ec20aa6809c
institution OA Journals
issn 2376-5992
language English
publishDate 2024-12-01
publisher PeerJ Inc.
record_format Article
series PeerJ Computer Science
spelling doaj-art-dde376869c364b36929d7ec20aa6809c2025-08-20T02:35:18ZengPeerJ Inc.PeerJ Computer Science2376-59922024-12-0110e258410.7717/peerj-cs.2584Sentiment analysis of pilgrims using CNN-LSTM deep learning approachAisha AlasmariNorah FarooqiYouseef AlotaibiCrowd management refers to the management and control of masses at specific locations. A Hajj gathering is an example. Hajj is the biggest gathering of Muslims worldwide. Over two million Muslims from all over the globe come annually to Makkah, Saudi Arabia. Authorities of Saudi Arabia strive to provide comfortable comprehensive services to pilgrims using the latest modern technologies. Recent studies have focused on camera scenes and live streaming to assess the count and monitor the behavior of the crowd. However, the opinions of the pilgrims and their feelings about their experience of Hajj are not well known, and the data on social media (SM) is limited. This paper provides a combination of Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM) algorithms for sentiment analysis of pilgrims using a novel and specialized dataset, namely Catering-Hajj. The model is based on four CNN layers for local feature extraction after the One-Hot Encoder, and one LSTM layer to maintain long-term dependencies. The generated feature maps are passed to the SoftMax layer to classify final outputs. The proposed model is applied to a real case study of issues related to pre-prepared food at Hajj 1442. Started with collecting the dataset, extracting target attitudes, annotating the data correctly, and analyzing the positive, negative, and neutral attitudes of the pilgrims to this event. Our model is compared with a set of Machine Learning (ML) models including Support Vector Machine (SVM), Logistic Regression (LR), Decision Tree (DT), and Random Forest (RF), as well as CNN and LSTM models. The experimental results show that SVM, RF, and LSTM achieve the same rate of roughly 81%. LR and CNN achieve 79%, and DT achieves 71%. The proposed model outperforms other classifiers on our dataset by 92%.https://peerj.com/articles/cs-2584.pdfSentiment analysisCrowed managementDeep learningConvolutional neural networksLong short-term memoryHajj
spellingShingle Aisha Alasmari
Norah Farooqi
Youseef Alotaibi
Sentiment analysis of pilgrims using CNN-LSTM deep learning approach
PeerJ Computer Science
Sentiment analysis
Crowed management
Deep learning
Convolutional neural networks
Long short-term memory
Hajj
title Sentiment analysis of pilgrims using CNN-LSTM deep learning approach
title_full Sentiment analysis of pilgrims using CNN-LSTM deep learning approach
title_fullStr Sentiment analysis of pilgrims using CNN-LSTM deep learning approach
title_full_unstemmed Sentiment analysis of pilgrims using CNN-LSTM deep learning approach
title_short Sentiment analysis of pilgrims using CNN-LSTM deep learning approach
title_sort sentiment analysis of pilgrims using cnn lstm deep learning approach
topic Sentiment analysis
Crowed management
Deep learning
Convolutional neural networks
Long short-term memory
Hajj
url https://peerj.com/articles/cs-2584.pdf
work_keys_str_mv AT aishaalasmari sentimentanalysisofpilgrimsusingcnnlstmdeeplearningapproach
AT norahfarooqi sentimentanalysisofpilgrimsusingcnnlstmdeeplearningapproach
AT youseefalotaibi sentimentanalysisofpilgrimsusingcnnlstmdeeplearningapproach