Text sentiment classification method based on deep learning combined model

A combined model and emotion classification technology, applied in the fields of deep learning and natural language processing, can solve the problems of saddle point problems, long training time, limited effect, etc., and achieve the effect of simplifying difficulty, good effect and reducing trouble.

Active Publication Date: 2018-06-01
SOUTH CHINA UNIV OF TECH
View PDF9 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the process of deep learning, model training is often easy to fall into local optimum or encounter saddle point problems, and the more layers, the more local optimum values ​​and saddle points exist in the neural network. At present, most of the schemes start from changing the weight initialization and propose Use Xavier, MSRA and other methods to initialize weights, but the effect is still very limited, and the training time is longer

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
  • Text sentiment classification method based on deep learning combined model
  • Text sentiment classification method based on deep learning combined model
  • Text sentiment classification method based on deep learning combined model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be further described below in conjunction with specific examples.

[0045] The text sentiment classification method based on deep learning combination model provided by this embodiment comprises the following steps:

[0046] 1) Carry out word segmentation or word segmentation for a certain amount of Weibo data, English words and numbers are not divided, and the word vector corresponding to the word or word is obtained by training with the word vector training tool Word2Vec;

[0047] 2) Segment each sentence of the marked text and fill it to a fixed length to obtain a training data set 1, and perform word segmentation and fill it to a fixed length to obtain a training data set 2 for each sentence of the marked text;

[0048] 3) The words and words of the two training data sets are given corresponding word vectors and word vectors;

[0049] 4) The two models are implemented with tensorflow, and the two training data sets are then used with Text...

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 text sentiment classification method based on a deep learning combined model. The method comprises the steps of (1) training a word vector and a character vector; (2) performing word segmentation for each sentence of an annotated text, filling to a fixed length to obtain a training dataset I, performing character segmentation on each sentence of the annotated text, filling to the fixed length to obtain a training dataset II; (3) endowing words and characters of the two training datasets with corresponding word vectors and character vectors; (4) training the two training datasets by use of a text CNN (Convolutional Neural Network) and an improved Dynamic CNN model to obtain four base classifiers, wherein a progressive learning method is adopted as a training methodand a focal loss function is adopted as a loss function and (5) combining the four base classifiers to obtain the text sentiment classification method of a combined model. The text sentiment classification method implemented by the invention does not depend on a specific sentiment dictionary, is not limited to a specific field and has high universality and expandability.

Description

technical field [0001] The present invention relates to the fields of deep learning and natural language processing, in particular to a text sentiment classification method based on a deep learning combination model. Background technique [0002] Text sentiment classification technology, its formal expression is: For a specific text x, the model predicts that the probability vector belonging to each sentiment category is P, and its category is: [0003] [0004] The main mainstream method of traditional text sentiment classification research is the classification method based on the sentiment lexicon. Usually, a lexicon containing various emotional colors is established first, and then the semantic information of the text is weighted based on the established sentiment lexicon, and then traditional machine learning methods for sentiment classification. The more commonly used emotional dictionaries include HowNet, NTUSD, and the Chinese emotional vocabulary ontology librar...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/27G06F17/30G06N3/04G06Q50/00
CPCG06F16/355G06Q50/01G06F40/289G06F40/30G06N3/045
Inventor 邓辉舫何远生
Owner SOUTH CHINA UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products