Supercharge Your Innovation With Domain-Expert AI Agents!

Text type data identification method and system and storage medium

A data identification and type technology, applied in the field of machine learning, can solve the problem that the data asset sorting method cannot be effectively applied to text type data, etc., and achieves the effect of saving the time of data identification rules, short work time and high operation efficiency.

Inactive Publication Date: 2020-12-15
CHINA ACADEMY OF INFORMATION & COMM
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This disclosure uses a single Chinese character or a word as a semantic unit as a classification feature, avoiding the sparsity of the feature in the training sample; concatenating all the field contents of the category into a large file for processing; using Bayesian probability calculation for the classification problem , especially the prior probability of the field and the 1-gram category conditional probability are used as the main variables to calculate the probability; the prior probability and conditional probability are generated during the training process; the logarithmic operation is used in the classification to realize the addition of scores, which solves the problem of traditional The problem that the regular expression data asset sorting method cannot be effectively applied to most text type data

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 type data identification method and system and storage medium
  • Text type data identification method and system and storage medium
  • Text type data identification method and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] figure 1 is a method for text type data recognition according to an embodiment of the present invention, such as figure 1 shown, including the following steps:

[0064] S1. Obtain each field in the data table, and connect all field information to obtain a field set;

[0065] There will be multiple data tables in the data source, and there will be multiple fields in each data table, and all fields in all data tables will be concatenated to obtain a field set.

[0066] S2, build a training set, the training set is the field set in step S1, and extract the byte-based 1-gram feature to the field set in the training set;

[0067] Bayesian classification algorithm is based on the conditional independence assumption when analyzing the text, assuming that the words in the text are independent of each other and do not depend on other adjacent words in the text. For example, the text d consists of l features, expressed as d=(x 1 ,x 2 ,...,x l ), then the probability of the ...

Embodiment 2

[0090] Figure 5 is a system for text type data recognition according to an embodiment of the present invention, such as figure 2 As shown, the following modules are included:

[0091] An acquisition module 51 , a feature extraction module 52 , a classifier training module 53 and a classifier identification module 54 .

[0092] The obtaining module 51 is used to obtain each field in the data table, and connects all field information to obtain a field set;

[0093] The feature extraction module 52 is used to construct the training set, and the training set is the field collection obtained by the acquisition module 51, and the field collection in the training collection is extracted based on byte-based 1-gram features;

[0094] Classifier training module 53 is used for the feature input bayes classifier that feature extraction module 52 extracts and trains;

[0095] The classifier identification module 54 extracts the features of the data table to be identified after being p...

Embodiment 3

[0112] Suppose the training set includes two categories, each with a data table as follows:

[0113] Table 1c 1 Category: Personal Information

[0114] Name address Zhang San Chaoyang Road Li Si Renmin Road Wang Wu Wenhua Road Zhu Liu College Road Zhao Qi Li Ning Road

[0115] Table 2c 2 Class: Enterprise Information

[0116] business name address Zhong An Wei Shi Zhongguancun South Street Qihoo Technology Wangjing Street Baidu Technology Xi'er Banner Sina Technology Zhongguancun Ali Group hangzhou

[0117] Merge all the contents of the two fields of each category to obtain a field set, which is regarded as a large file. In the training phase, it is necessary to calculate the conditional probability of each semantic item for each category as a classification model.

[0118] The category is: C={personal information, enterprise information};

[0119] The total number of fi...

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 a text type data identification method and system and a storage medium. The method comprises the steps: firstly obtaining each field in a data table, connecting all field information to obtain a field set, then constructing a training set, performing byte-based 1-gram feature extraction on the field set in the training set, inputting the extracted features into a bayes classifier for training, and finally performing feature extraction on the to-be-identified data table; and inputting the extracted features into the classifier for identification, and outputting a classification identification result by the classifier. According to the method, single Chinese characters or words serve as semantic units to serve as classification features, the sparsity problem of the features in a training sample is avoided, all field contents of the category are connected into a large file to be processed, Bayesian probability calculation is used for the classification problem. The prior probability of the field and the 1-gram category conditional probability are used as main variables for calculating the probability, and the addition of scores is realized by using logarithm operation in classification, so that the recognition accuracy is improved.

Description

technical field [0001] The invention belongs to the technical field of machine learning, and more specifically relates to a method, system and storage medium for text type data recognition. Background technique [0002] With the advent of the digital economy era, data, as a new factor of production, accelerates the integration and development of traditional industrial productivity, and promotes changes in the quality, efficiency, and power of economic development. In this context, my country attaches great importance to data security protection and escorts the development of the national data economy. my country actively learns from the advanced experience of foreign data security management, promulgates laws and regulations such as the "Network Security Law", clearly puts forward security requirements such as data classification, encryption, etc., and regards data asset sorting, data classification and classification management as basic measures and prerequisites for data s...

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/289G06F40/30G06K9/62G06N7/00
CPCG06F16/3344G06F16/35G06F40/216G06F40/289G06F40/30G06N7/01G06F18/24155
Inventor 魏薇张媛媛姜宇泽
Owner CHINA ACADEMY OF INFORMATION & COMM
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More