MACHINE LEARNING MODEL TRAINING METHOD AND APPARATUS, SERVER, AND STORAGE MEDIUM
First Claim
1. A machine learning model training method, comprising:
- training, by a computing device, a machine learning model using features of each sample in a training set based on an initial first weight of each sample and an initial second weight of each sample;
in one iteration of training the machine learning model,determining, by the computing device, a first sample set comprising a sample whose corresponding target variable is incorrectly predicted, and a second sample set comprising a sample whose corresponding target variable is correctly predicted, based on a predicted loss of each sample in the training set;
determining, by the computing device, an overall predicted loss of the first sample set based on the predicted loss and a corresponding first weight of each sample in the first sample set;
updating, by the computing device, the first weight and a second weight of each sample in the first sample set based on the overall predicted loss of the first sample set; and
inputting, by the computing device, the updated second weight of each sample in the training set, the features of each sample in the training set, and the target variable of each sample in the training set to the machine learning model, and initiating a next iteration of training the machine learning model.
1 Assignment
0 Petitions
Accused Products
Abstract
A machine learning model training method includes: training a machine learning model using features of each sample in a training set based on an initial first weight and an initial second weight. In one iteration, the method includes determining a first sample set in which a target variable is incorrectly predicted, and a second sample set in which a target variable is correctly predicted, based on a predicted loss of each sample; and determining overall predicted loss of the first sample set based on a predicted loss and a first weight of each sample in the first sample set. The method also includes updating the first weight and a second weight of each sample in the first sample set based on the overall predicted loss; and inputting the updated second weight, the features, and the target variable of each sample to the machine learning model, and initiating a next iteration.
-
Citations
20 Claims
-
1. A machine learning model training method, comprising:
-
training, by a computing device, a machine learning model using features of each sample in a training set based on an initial first weight of each sample and an initial second weight of each sample; in one iteration of training the machine learning model, determining, by the computing device, a first sample set comprising a sample whose corresponding target variable is incorrectly predicted, and a second sample set comprising a sample whose corresponding target variable is correctly predicted, based on a predicted loss of each sample in the training set; determining, by the computing device, an overall predicted loss of the first sample set based on the predicted loss and a corresponding first weight of each sample in the first sample set; updating, by the computing device, the first weight and a second weight of each sample in the first sample set based on the overall predicted loss of the first sample set; and inputting, by the computing device, the updated second weight of each sample in the training set, the features of each sample in the training set, and the target variable of each sample in the training set to the machine learning model, and initiating a next iteration of training the machine learning model. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A machine learning model training apparatus, comprising:
-
a memory; and one or more processors configured to; train a machine learning model using features of each sample in a training set based on an initial first weight of each sample and an initial second weight of each sample; in one iteration of training the machine learning model, determine a first sample set comprising a sample whose corresponding target variable is incorrectly predicted, and a second sample set comprising a sample whose corresponding target variable is correctly predicted, based on a predicted loss of each sample in the training set; determine an overall predicted loss of the first sample set based on the predicted loss and a corresponding first weight of each sample in the first sample set; update the first weight and a second weight of each sample in the first sample set based on the overall predicted loss of the first sample set; and input the updated second weight of each sample in the training set, the features of each sample in the training set, and the target variable of each sample in the training set to the machine learning model, and initiate a next iteration of training the machine learning model. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A non-transitory storage medium, storing an executable program, when being executed by a processor, the executable program causes the processor to perform:
-
training a machine learning model using features of each sample in a training set based on an initial first weight of each sample and an initial second weight of each sample; in one iteration of training the machine learning model, determining a first sample set comprising a sample whose corresponding target variable is incorrectly predicted, and a second sample set comprising a sample whose corresponding target variable is correctly predicted, based on a predicted loss of each sample in the training set; determining an overall predicted loss of the first sample set based on the predicted loss and a corresponding first weight of each sample in the first sample set; updating the first weight and a second weight of each sample in the first sample set based on the overall predicted loss of the first sample set; and inputting the updated second weight of each sample in the training set, the features of each sample in the training set, and the target variable of each sample in the training set to the machine learning model, and initiating a next iteration of training the machine learning model.
-
Specification