Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text classification method, device, medium and apparatus based on convolution neural network

A convolutional neural network and text classification technology, applied in the field of text classification, can solve problems such as gradient disappearance, achieve the effect of easy training, ensure network characteristics, and reduce the amount of parameters and calculation.

Active Publication Date: 2019-03-29
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a text classification method, device, medium and equipment based on a convolutional neural network to solve the defect of the gradient disappearance problem in the existing text classification model using the convolutional neural network

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 classification method, device, medium and apparatus based on convolution neural network
  • Text classification method, device, medium and apparatus based on convolution neural network
  • Text classification method, device, medium and apparatus based on convolution neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0053] For a text classification method based on a convolutional neural network provided by an embodiment of the present invention, see figure 1 shown, including:

[0054] Step 101: Obtain text to be classified related to Internet public opinion, and determine a word vector matrix of the text to be classified.

[0055] In the embodiment of the present invention, the text to be classified is the text that needs to be classified related to Internet public opinion, which may include one or more sentences, and each sentence includes one or more words; wherein, each word corresponds to a word vector, and then The corresponding word vector matrix can be generated.

[00...

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 provides a text classification method, device, medium and apparatus based on a convolution neural network, wherein, the method comprises the following steps: obtaining a word vector matrix of a text to be classified related to network public opinion; constructing an initial feature matrix according to the word vector matrix, and using the initial feature matrix as the input of the trained text classification model and input the initial feature matrix to the first sequential region block, and determining the output of the region block is determined; The input of each hidden layerin the region block comes from the output of all other hidden layers in the region block. The output of the current region block is taken as the input of the next region block until the output of allthe region blocks is determined, and the output of all the region blocks is transmitted to the full connection layer, and the classification result is determined according to the output of all the region blocks. The network structure adopted in the method can make the transmission of network features and gradients more effective, avoid the problem of gradient disappearance caused by the layer-by-layer transmission of loss function information, and ensure that the network depth can be enlarged while the problem of gradient disappearance can be avoided.

Description

technical field [0001] The present invention relates to the technical field of text classification, in particular to a convolutional neural network-based text classification method, device, medium and equipment. Background technique [0002] With the development of mobile Internet technology, network information is growing explosively, and the network is filled with a large number of useful or useless texts; Different views or Internet opinion. Due to the huge amount of network text information, it is necessary to classify the network information quickly and accurately. As one of the key technologies of natural language processing, text classification can effectively solve problems such as information clutter, and is widely used in tasks such as search engines, spam filtering, personalized news and data sorting. [0003] The current text classification model is generally based on the bag-of-words model and the cyclic neural network model, while the bag-of-words model does ...

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): G06F16/35G06N3/04
CPCG06N3/045Y02D10/00
Inventor 金戈徐亮肖京
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products