Data processing method and device

A technology for processing data and processing objects, applied in the computer field, can solve problems such as poor computing performance, achieve the effect of solving poor computing performance, avoiding poor computing performance of algorithms, and reducing vector dimensions

Pending Publication Date: 2020-08-11
北京互金新融科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a method and device for processing data, so as to at least solve the technical problem of poor calculation performance when processing discrete features in the existing one-hot encoding method

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
  • Data processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] According to an embodiment of the present invention, an embodiment of a method for processing data is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0028] It should be noted that a data processing device (such as a terminal such as a computer or a PAD) can be used as the execution subject of the method provided in this embodiment. Optionally, the method provided in this embodiment can be applied to a credit score card. It can be applied to the management of user information in enterprises, and relevant application scenarios are not specifically limited here.

[0029] In an alternative embodiment, figure 1 is a flowchart of a method for processing data a...

Embodiment 2

[0067] According to an embodiment of the present invention, an embodiment of an apparatus for processing data is also provided, wherein, figure 2is a schematic diagram of a device for processing data according to an embodiment of the present invention, such as figure 2 As shown, the device includes: an acquisition module 201 , a processing module 203 and a determination module 205 .

[0068] Wherein, the acquiring module 201 is configured to acquire multiple feature values ​​corresponding to preset features of multiple objects to be processed, wherein each object to be processed has multiple features, and the preset feature is any one of the multiple features, Each feature has a preset number of labels, and each label corresponds to at least one feature value; the processing module 203 is configured to process multiple feature values ​​based on Bayesian theorem to obtain a feature vector corresponding to each feature value, Wherein, the dimension of the feature vector is sm...

Embodiment 3

[0076] According to another aspect of the embodiments of the present invention, there is also provided a storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for processing data in Embodiment 1 above.

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 data processing method and device. The method comprises the steps: acquiring multiple feature values corresponding to the preset feature of multiple to-be-processed objects,wherein each to-be-processed object has multiple features, the preset feature is any one of the multiple features, each feature has a preset number of labels, and each label corresponds to at least one feature value; processing the plurality of feature values based on the Bayes' theorem to obtain a feature vector corresponding to each feature value, the dimension of the feature vector being less than a preset number; and determining a label set corresponding to a preset feature based on the feature vector corresponding to each feature value. According to the invention, the technical problem ofpoor calculation performance when discrete features are processed in the conventional one-hot encoding mode is solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method and device for processing data. Background technique [0002] At present, people are in the era of information digitization. Some enterprises can realize the management of user information by collecting statistics on people's information, so that they can understand the needs of users based on the information in the management, and then can provide users with better services. [0003] In the prior art, a machine learning algorithm is usually used to manage user information. Among them, in the application of machine learning algorithms, it is usually necessary to encode categorical features (for example, gender, city where the order is placed) into meaningful values, and then further process them through machine learning algorithms. [0004] The above-mentioned categorical features are usually discrete features. At present, when encoding discrete features, one-hot encodi...

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/21
CPCG06F16/211
Inventor 曾凡祥
Owner 北京互金新融科技有限公司
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