Unlock instant, AI-driven research and patent intelligence for your innovation.

Public opinion sentiment classification method based on deep learning

A sentiment classification, deep learning technology, applied in neural learning methods, text database clustering/classification, biological neural network models, etc., can solve problems such as gradient disappearance, explosion, etc., to improve accuracy, enhance effectiveness, and comprehensive emotional Effect

Pending Publication Date: 2022-01-28
HOHAI UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the RNN algorithm will have the problem of gradient disappearance or explosion during backpropagation.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Public opinion sentiment classification method based on deep learning
  • Public opinion sentiment classification method based on deep learning
  • Public opinion sentiment classification method based on deep learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Below in conjunction with accompanying drawing and specific embodiment, further illustrate the present invention, should be understood that these embodiments are only for illustrating the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various aspects of the present invention Modifications in equivalent forms all fall within the scope defined by the appended claims of this application.

[0025] see figure 1 , the figure shows the algorithm flow of the embodiment of the present invention, including the following steps:

[0026] 101. Data preprocessing: Clean the data obtained from crawlers on Weibo, remove symbols, URL identifiers, numbers and other irrelevant information in the data; use SentencePiece technology to segment text data; refer to the Harbin Institute of Technology stop word list to remove Words that have no real meaning in the data. And bu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a public opinion sentiment classification method based on deep learning, and applies an XLNet + BiLSTM + Attention model to perform sentiment classification. The method mainly comprises the following steps: data preprocessing: preprocessing microblog hot event comment data; data pre-training: putting the data into an XLNet model, and extracting XLNet word vector representation; feature extraction: inputting the word vectors into a BiLSTM model to obtain text context information features; attention operation: operating an Attention mechanism to extract a deeper feature vector through a weight value; and sentiment classification: performing normalization by using a softmax function, and predicting the sentiment tendency of the speech. The model provided by the invention mainly aims at the problems that data are different and fine tuning is inaccurate during BERT model training and testing, the existing emotion classification is mainly divided into two classes: positive and negative classes, emotion judgment is relatively rough, and training and testing data in an XLNet + BiLSTM + Attention model are not different. According to the result, various emotions rich in the text can be analyzed, and the accuracy of emotion prediction is effectively improved.

Description

technical field [0001] The present invention relates to the field of emotion classification of natural language processing and the field of deep learning, in particular to a deep learning-based public opinion emotion classification method. Background technique [0002] For the problem of sentiment classification in the field of natural language processing, people's research methods range from public opinion sentiment analysis based on sentiment lexicon to machine learning-based public opinion sentiment analysis. Now the most popular is the public opinion sentiment analysis method based on deep learning. The deep learning method saves a lot of labor time and does not need to perform feature extraction operations one by one. Neural networks can actively extract feature vectors through automatic learning. Neural network algorithms such as CNN, RNN, and LSTM are commonly used algorithms in sentiment classification problems. However, the accuracy of these neural network method...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/33G06F16/35G06F40/216G06F40/289G06K9/62G06N3/04G06N3/08
CPCG06F16/3344G06F16/3346G06F16/35G06F40/216G06F40/289G06N3/08G06N3/047G06N3/044G06F18/2415G06F18/241
Inventor 陈济炉韩立新
Owner HOHAI UNIV