Text classification method and device, electronic equipment and storage medium

A text classification and text technology, applied in the field of artificial intelligence, can solve the problems of not considering the correlation of samples and the low accuracy of model classification, and achieve the effect of improving classification accuracy, improving accuracy, and deepening interaction

Pending Publication Date: 2022-07-05
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method does not consider the correlation between samples, making the classification accuracy of the model not high

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 and device, electronic equipment and storage medium
  • Text classification method and device, electronic equipment and storage medium
  • Text classification method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The embodiments of the present application may acquire and process related data based on artificial intelligence technology. Among them, artificial intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .

[0049] The basic technologies of artificial intelligence generally include technologies such as sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0050]In order to make the objectives, technical solutions and advantages of the prese...

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 relates to the field of artificial intelligence, and discloses a text classification method, which comprises the following steps of: splitting a sample set corresponding to each field into a plurality of positive sample pairs and a plurality of negative sample pairs; determining a target loss function according to the similarity difference between the positive sample pair and the negative sample pair, and training a text classification model corresponding to each field by minimizing the target loss function; identifying a target field corresponding to the to-be-classified text, judging whether the distribution of the sample set corresponding to the target field on the text category is balanced or not, and if not, calculating the weight corresponding to each text category of the target field; and inputting the to-be-classified text into a text classification model corresponding to the target field to obtain a predicted value of the to-be-classified text in each text category of the target field, and determining a target text category corresponding to the to-be-classified text based on the predicted value and the weight. The invention further provides a text classification device, electronic equipment and a storage medium. The text classification accuracy is improved.

Description

technical field [0001] The present invention relates to the field of artificial intelligence, and in particular, to a text classification method, device, electronic device and storage medium. Background technique [0002] Text classification is an important topic in the field of natural language processing. Text classification can be widely used in many scenarios such as search engines, intelligent question answering, knowledge retrieval, and dialogue systems. [0003] At present, the mainstream practice is to use a text classification model to classify text, and the training process of the text classification model is usually: input the sample with the label into the model, and optimize the text classification model by minimizing the difference between the label and the predicted value. . However, this method does not consider the correlation between samples, which makes the model classification accuracy not high. Therefore, a text classification method is urgently needed...

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/35G06K9/62
CPCG06F16/35G06F18/22G06F18/24G06F18/214
Inventor 刘羲舒畅陈又新
Owner PING AN TECH (SHENZHEN) CO LTD
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