错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Automatic Sentiment Detection on Social Media Using Deep Learning

  • Hamza Aloui,
  • Hmad Zennou,
  • Ouhda Mohamed,
  • Mohamed Baslam

摘要

This article discusses the detection of emotions from textual data using deep learning techniques. The study compares the performance of the Long Short-Term Memory (LSTM) and Bidirectional Long Short-Term Memory (BiLSTM) models with Support Vector Machines (SVM) and Logistic Regression (LR) algorithms. The dataset consists of 16,000 training instances and 4,000 testing instances across six emotions: anger, fear, joy, love, sadness, and surprise. The results show that both BiLSTM and LSTM models outperform SVM and LR in emotion detection. BiLSTM achieves the highest accuracy at 93.167%, while LSTM exhibits superior performance in terms of average precision (93.22%), average recall (93.86%), and F1 score (93.04%). These findings demonstrate the effectiveness of deep learning techniques, particularly BiLSTM and LSTM, in accurately detecting emotions from text.