article Open access

Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight

  • Scientific Programming
  • Hindawi Publishing Corporation
Research footprint

At a glance

Citations
11
References
14
Comments
0
Paper overview

Abstract

Within the sentiment classification field, the convolutional neural network (CNN) and long short-term memory (LSTM) are praised for their classification and prediction performance, but their accuracy, loss rate, and time are not ideal. To this purpose, a deep learning structure combining the improved cross entropy and weight for word is proposed for solving cross-domain sentiment classification, which focuses on achieving better text sentiment classification by optimizing and improving recurrent neural network (RNN) and CNN. Firstly, we use the idea of hinge loss function (hinge loss) and the triplet loss function (triplet loss) to improve the cross entropy loss. The improved cross entropy loss function is combined with the CNN model and LSTM network which are tested in the two classification problems. Then, the LSTM binary-optimize (LSTM-BO) model and CNN binary-optimize (CNN-BO) model are proposed, which are more effective in fitting the predicted errors and preventing overfitting. Finally, considering the characteristics of the processing text of the recurrent neural network, the influence of input words for the final classification is analysed, which can obtain the importance of each word to the classification results. The experiment results show that within the same time, the proposed weight-recurrent neural network (W-RNN) model gives higher weight to words with stronger emotional tendency to reduce the loss of emotional information, which improves the accuracy of classification.

Record transparency

Publication details

DOI
10.1155/2020/3810261
OpenAlex
W3037097571
Document type
article
Language
EN
Source
Scientific Programming
Last metadata update
Community

Comments

Log in to join the discussion.

  1. No comments yet. Start the discussion.