Method and device for training a multi-label classification model

A classification model and multi-label technology, applied in the computer field, can solve problems such as inability to input images, and achieve good results

Pending Publication Date: 2019-06-04
HUAWEI TECH CO LTD +1
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this method needs to extract the features of the image first, and then calculate the feature mapping matrix according to the features of the image
After the features of

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
  • Method and device for training a multi-label classification model
  • Method and device for training a multi-label classification model
  • Method and device for training a multi-label classification model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The technical solution in this application will be described below with reference to the accompanying drawings.

[0056] figure 1 Schematic diagrams showing single-label classification and multi-label classification problems. Such as figure 1 As shown in (a), single-label classification often assumes that samples only correspond to one category label, that is, have unique semantic meaning. However, this assumption may not hold true in many practical situations, especially considering the semantic diversity of the objective object itself, the object is likely to be associated with multiple different category labels at the same time. Therefore, in multi-label problems, such as figure 1 As shown in (b), multiple related category labels are often used to describe the semantic information corresponding to each object. For example, each image may correspond to multiple semantic labels at the same time, such as "grassland", "sky" and "sea". ", each piece of music may conta...

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 method and a device for training a multi-label classification model, which can dynamically learn image features, enable a feature extraction network to better adapt to task requirements, and are good in multi-label classification effect. The method comprises the steps of determning n samples and a label matrix Yc * n corresponding to the n samples in a training data set, wherein an element yi * j in the label matrix Yc * n represents whether an ith sample contains an object indicated by a jth label or not, and c represents the number of labels related to the samples; extracting a feature matrix Xd * n of the n samples by using a feature extraction network;utilizing a feature mapping network to obtain a prediction tag matrix of the feature matrix Xd * n, wherein theprediction tag matrix is obtained by using the feature mapping network; and obtaining a prediction tag matrix of the feature matrix Xd * n. Elements in the DA00033902000001. TIF are shown in the specification. The invention also discloses a preparation method of the optical glass. The optical glass is characterized in that the optical glass is prepared from the optical glass, the optical glass and the like; a confidence representing that the i-th sample comprises an object indicated by the j-th tag; According to the label matrix Yc * n and the prediction label matrix, obtaining a predictionlabel matrix Yc * n according to the prediction label matrix Yc * n and the prediction label matrix Yc * n, and updating the weight parameter Z and the feature mapping matrix Mc * d, and training themulti-tag classification model.

Description

technical field [0001] The present application relates to the computer field, and more specifically, to a method and device for training a multi-label classification model in the computer field. Background technique [0002] With the improvement of the processing performance of smart phones, more and more applications have put forward requirements for image recognition. For example, in the process of taking pictures with a mobile phone, if the smartphone can accurately identify objects within the shooting range, it can perform targeted calculations on its color and shape, thereby improving the shooting effect. In the machine learning of intelligent systems, the training of recognizing objects in images has become a very important aspect. Generally speaking, machine learning is to set labels for a large number of existing images for the objects contained in them, and then continuously adjust the recognition parameters through computer self-evolution to gradually improve the ...

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): G06K9/62
CPCG06F18/00
Inventor 刘晓阳胡晓林王月红曹忆南
Owner HUAWEI TECH 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