Adjusting training set combination based on classification accuracy
First Claim
Patent Images
1. A system comprising:
- one or more computing devices, wherein the one or more computing devices comprises;
a memory to store instructions; and
processing circuitry, coupled with the memory, operable to execute the instructions, that when executed, cause the processing circuitry to;
access or receive a plurality of samples associated with one or more classes of a classification model;
generate at least one training batch, wherein the at least one training batch includes the plurality of samples associated with the one or more classes;
train the classification model for a number of iterations using the at least one training batch;
determine an accuracy of each class based on the training;
determine whether the accuracy of each of the one or more classes meets or exceeds an accuracy threshold value;
increase a number of the samples associated with the one or more classes having accuracies that fall below the accuracy threshold value in order to generate an adjusted training batch; and
train the classification model for a subsequent number of iterations using the adjusted training batch.
1 Assignment
0 Petitions
Accused Products
Abstract
Various embodiments are generally directed to techniques of adjusting the combination of the samples in a training batch or training set. Embodiments include techniques to determine an accuracy for each class of a classification model, for example. Based on the determined accuracies, the combination of the samples in the training batch may be adjusted or modified to improve the training of the classification model.
17 Citations
20 Claims
-
1. A system comprising:
one or more computing devices, wherein the one or more computing devices comprises; a memory to store instructions; and processing circuitry, coupled with the memory, operable to execute the instructions, that when executed, cause the processing circuitry to; access or receive a plurality of samples associated with one or more classes of a classification model; generate at least one training batch, wherein the at least one training batch includes the plurality of samples associated with the one or more classes; train the classification model for a number of iterations using the at least one training batch; determine an accuracy of each class based on the training; determine whether the accuracy of each of the one or more classes meets or exceeds an accuracy threshold value; increase a number of the samples associated with the one or more classes having accuracies that fall below the accuracy threshold value in order to generate an adjusted training batch; and train the classification model for a subsequent number of iterations using the adjusted training batch. - View Dependent Claims (2, 3, 4)
-
5. An apparatus, comprising:
-
a memory to store instructions; and processing circuitry, coupled with the memory, operable to execute the instructions, that when executed, cause the processing circuitry to; train a classification model for a number of iterations using at least one training batch, wherein the at least one training batch includes a plurality of samples associated with one or more classes of the classification model; determine an accuracy of each of the one or more classes based on the training; compare the determined accuracy of one class relative to the determined accuracies of at least one other class to generate one or more weighted values; determine, based on the one or more weighted values, how many samples associated with each class are to be included in the at least one training batch; and perform an adjustment of the at least one training batch for a subsequent training of the classification model. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method comprising:
-
training, via at least one processor, a classification model for a number of iterations using at least one training batch, wherein the at least one training batch includes a plurality of samples associated with one or more classes of the classification model; determining, via the at least one processor, an accuracy of each of the one or more classes based on the training; comparing, via the at least one processor, the determined accuracy of one class relative to the determined accuracies of at least one other class to generate one or more weighted values; determining, via the at least one processor, how many samples associated with each class are to be included in the at least one training batch based on the one or more weighted values; and performing, via the at least one processor, an adjustment of the at least one training batch for a subsequent training of the classification model.
-
-
20. A non-transitory computer-readable storage medium storing computer-readable program code executable by at least one processor to:
-
train a classification model for a number of iterations using at least one training batch, wherein the at least one training batch includes a plurality of samples associated with one or more classes of the classification model; determine an accuracy of each of the one or more classes based on the training; compare the determined accuracy of one class relative to the determined accuracies of at least one other class to generate one or more weighted values; determine, based on the one or more weighted values, how many samples associated with each class are to be included in the at least one training batch; and perform an adjustment of the at least one training batch for a subsequent training of the classification model.
-
Specification