A model parameter training method and device
A technology of model parameters and training methods, applied in the field of machine learning, can solve the problems of not being able to give, relying on a large number of labeled samples, and scarce labeled samples, and achieve the effect of saving labor costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0017] figure 1 It is a flow chart of the model parameter training method provided by Embodiment 1 of the present invention. This embodiment is applicable to machine learning. The method can be executed by a model parameter training device, which can be implemented by software and / or hardware. The device can Integrate in any device that provides artificial intelligence, such as typical user terminal devices, such as mobile phones, tablets, smart TVs or smart watches. The method includes:
[0018] S101. Acquire a sample data set and a data model for prediction according to the sample data set, the sample data set includes labeled samples and unlabeled samples, and the data model includes an initialized vector of the first parameter V and a second parameter A vector of U.
[0019] Further, the labeled sample is (x, y), the unlabeled sample is z, and the first parameter V is a vector w v , the second parameter U is a vector w u .
[0020] Suppose there is a set of labeled sa...
Embodiment 2
[0032] figure 2 It is a flow chart of the model parameter training method provided by Embodiment 2 of the present invention, and Embodiment 2 is based on Embodiment 1. The model parameter training method provided in this embodiment includes the following steps: step S201, step S202 and step S203. Wherein, step S202 is the optimization of step S102 in the first embodiment, step S203 is the optimization of the step S103 in the first embodiment, step S201 is the same as step S101 in the first embodiment, and the same steps will not be repeated.
[0033] S201. Obtain a sample data set and a data model for prediction based on the sample data set, the sample data set includes labeled samples and unlabeled samples, and the data model includes an initialized vector of the first parameter V and a second parameter A vector of U.
[0034] S202. For the marked sample set D L Each labeled sample in : by the first feature vector Φ of the labeled sample v and the first parameter V to ca...
Embodiment 3
[0047] image 3 It is a schematic structural diagram of the model parameter training device provided by Embodiment 3 of the present invention. The device is used to execute the method for training model parameters in the above embodiments. The device includes: an acquisition module 301 , a first training module 302 and a second training module 303 .
[0048] An acquisition module 301, configured to acquire a sample data set and a data model for prediction according to the sample data set, the sample data set includes labeled samples and unlabeled samples, and the data model includes a vector of initialized first parameters V and a vector of the second parameter U.
[0049] The first training module 302 is connected to the acquisition module 301 and configured to train the first parameter V and the second parameter U according to the labeled samples.
[0050] The second training module 303 is connected with the first training module 302, and is used for retraining the first ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


