Unlock instant, AI-driven research and patent intelligence for your innovation.

Sparse matrix compression method and device, equipment and storage medium

A sparse matrix and compression method technology, applied in the computer field, can solve problems such as occupying a large memory space and affecting the speed of feature vectorization, and achieve the effect of accelerating the calculation process and reducing the feature space.

Pending Publication Date: 2019-10-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When training the model, the user sample features obtained each time are sparse, and the sparse matrix representation is generally used to vectorize the user's features. Here, different sparse matrix representations affect the speed of feature vectorization. There are different effects. The sparse matrix representation in the prior art takes up a lot of memory space and affects the speed of feature vectorization.

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
  • Sparse matrix compression method and device, equipment and storage medium
  • Sparse matrix compression method and device, equipment and storage medium
  • Sparse matrix compression method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] See figure 1 , which shows a schematic diagram of an application scenario of the present invention, the application scenario may at least include a terminal 110 and a server 120, and data communication is performed between the terminal 110 and the server 120.

[0037] In the embodiment of this specification, the terminal 110 may include physical devices such as smart phones, desktop computers, tablet computers, notebook computers, digita...

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 sparse matrix compression method and device, equipment and a storage medium. The sparse matrix compression method comprises the steps: constructing an original feature set;acquiring sample data of a user, and determining a sparse feature set of the user from the original feature set according to the sample data of the user; carrying out compressed encoding on the elements in the sparse feature set to obtain a compressed feature set, and establishing a one-to-one correspondence relationship between the elements in the sparse feature set and the elements in the compressed feature set; and constructing a user feature compression matrix according to the sample data of the user, the sparse feature set, the compression feature set and the corresponding relationship. According to the sparse matrix compression method, the feature space during feature vectorization can be reduced, and the memory space needing to be opened up is reduced, and the whole calculation process is accelerated.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a sparse matrix compression method, device, equipment and storage medium. Background technique [0002] In the Internet scenario, hundreds of millions of users generate large-scale user data every day, forming super-large-scale training samples. How to use these data to train better models and use these models to serve users has brought huge challenges to machine learning platforms. [0003] Taking the recommended business scenario as an example, the current daily page views can reach up to tens of billions. If one month’s samples are required for training, the sample size will be at the hundreds of billions level. Engineering cross combinations yields an explosion of feature dimensions. When training the model, the user sample features obtained each time are sparse, and the sparse matrix representation is generally used to vectorize the user's features. Here, differe...

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/174
CPCG06F16/1744
Inventor 张红林陈华明武晓睿
Owner TENCENT TECH (SHENZHEN) CO LTD