US 11182691
Category-based sampling of machine learning data
Granted 2021-11-23 · Filed 2014-08-14 · Application 14/460,163 · Utility · Kind B1
- Assignee as printed
- Amazon Technologies, Inc., Seattle, WA (US)
- Inventors
- Zuohua Zhang, Bellevue, WA (US)
- CPC, current
- G06N20/00; G06N20/20; G06N5/01; G06N5/02
Abstract
A determination is made at a machine learning service that a training data set comprising a majority category of observation records and one or more minority categories of observation records meets a criterion for automated sampling. A sampling ratio to be used for a particular category of the majority category and the one or more minority categories is identified. A selected sampling methodology is applied to the particular category to obtain a sample in accordance with the sampling ratio. A particular machine learning model is trained using a result of applying at least the selected sampling methodology on the particular category.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A system, comprising:
- Claim 1, element e1one or more computing devices that include one or more processors, configured to: 25–105
- Claim 1, element e2receive, at a machine learning service implemented at a provider network, an indication of a data set to be used to train one or more machine learning models on behalf of a client of the service, 107–301
- Claim 1, element e3wherein the data set comprises a plurality of observation records; 303–368
- Claim 1, element e4analyze at least a subset of the observation records in the data set to: 370–441
- Claim 1, element e5identify, based at least in part on respective values of one or more dependent variables indicated in the analyzed observation records, a plurality of categories of observation records including a majority category and one or more minority categories; and 443–693
- Claim 1, element e6determine a population ratio between a number of observation records in the majority category and a number of observation records in one of the one or more minority categories, and that the population ratio is greater than a threshold ratio; 699–939
- Claim 1, element e7determine, based at least in part on the determination that the population ratio is greater than the threshold ratio, to use a category-dependent sampling of the data set that selects from the data set respective samples of individual categories of the plurality of categories, including a first category and a second category, to train a particular machine learning model; 941–1313
- Claim 1, element e8select a first sampling ratio to be used for sampling the first category of the observation records in the data set, and a second sampling ratio to be used for sampling the second category of the observation records in the data set, 1315–1546
- Claim 1, element e9wherein the first and second sampling ratios indicate respective fractions of observations records of the first and second categories, and at least one sampling ratio of the first and second sampling ratios is not indicated by a client on whose behalf the particular machine learning model is to be trained; 1548–1854
- Claim 1, element e10identify respective sampling methodologies to be applied to the first category and the second category to obtain the respective samples in accordance with the first and second sampling ratios; 1856–2047
- Claim 1, element e11train the particular machine learning model using at least a result of applying the respective sampling methodologies to the first category and the second category; and 2049–2212
- Claim 1, element e12provide an indication of the particular machine learning model to the client.2218–2294
4 dependent claims: 2 to 5 (2, 3, 4, 5 on claim 1)
Claim 2
Depends on claim 1.
2. The system as recited in claim 1 , wherein
- Claim 2, element e1at least one sampling ratio of the first and second sampling ratios is selected based at least in part on a problem domain for which the particular machine learning model is to be trained.46–233
Claim 3
Depends on claim 1.
3. The system as recited in claim 1 , wherein
- Claim 3, element e1at least one sampling ratio of the first and second sampling ratios is selected based at least in part on a memory size constraint of a particular server of the machine learning service.46–231
Claim 4
Depends on claim 1.
4. The system as recited in claim 1 , wherein
- Claim 4, element e1the system is configured to determine to generate the respective samples of the categories to train the particular machine learning model based at least in part on a performance goal that comprises one or more of: 46–258
- Claim 4, element e2(a) a model training time goal (b) a model execution time goal (c) a model storage requirement goal (d) a resource utilization goal pertaining to one or more resources of the machine learning service (e) a budget goal indicated by the client, or (f) a prediction accuracy goal.264–536
Claim 5
Depends on claim 1.
5. The system as recited in claim 1 , wherein
- Claim 5, element e1the particular machine learning model is one of: 46–93
- Claim 5, element e2a regression model, a decision tree-based model, a linear model, or a non-linear model.95–181
Claim 6
Independent claim.
6. A method, comprising:
- Claim 6, element e1performing, by one or more computing devices: 25–69
- Claim 6, element e2identifying, at a machine learning service, a majority category of observation records of a training data set to be used for a particular machine learning model, and one or more minority categories of observation records of the training data set; 71–316
- Claim 6, element e3determining a population ratio between a number of observation records in the majority category and a number of observation records in one of the one or more minority categories; and 318–495
- Claim 6, element e4determining that the population ratio is greater than a threshold ratio to trigger an automated category-dependent sampling of the training data set for training the machine learning model; 501–689
- Claim 6, element e5identifying a sampling ratio to be used for a particular category of the majority category of observation records in the training data set and the one or more minority categories of observation records in the training data set, 691–917
- Claim 6, element e6wherein the sampling ratio indicates a fraction of observations records in the particular category and is not indicated by a client on whose behalf the particular machine learning model is to be trained; 919–1121
- Claim 6, element e7applying a selected sampling methodology to the particular category to obtain a sample in accordance with the sampling ratio; and 1123–1247
- Claim 6, element e8training the particular machine learning model using a result of applying at least the selected sampling methodology on the particular category.1253–1396
9 dependent claims: 7 to 15 (7, 8, 9, 10, 11, 12, 13, 14, 15 on claim 6)
Claim 7
Depends on claim 6.
7. The method as recited in claim 6 , wherein
- Claim 7, element e1the particular category is a minority category.46–92
Claim 8
Depends on claim 6.
8. The method as recited in claim 6 , wherein
- Claim 8, element e1the particular category is the majority category.46–94
Claim 9
Depends on claim 6.
9. The method as recited in claim 6 , further comprising
- Claim 9, element e1performing, by the one or more computing devices: 57–105
- Claim 9, element e2receiving a model training request formatted in accordance with a programmatic interface implemented by the machine learning service, 107–239
- Claim 9, element e3wherein the training data set is indicated in the model training request.241–313
Claim 10
Depends on claim 6.
10. The method as recited in claim 6 , wherein
- Claim 10, element e1the sampling ratio is based at least in part on a problem domain indicated by the client.47–135
Claim 11
Depends on claim 6.
11. The method as recited in claim 6 , wherein
- Claim 11, element e1the sampling ratio is based at least in part on a memory size constraint of a particular server of the machine learning service.47–174
Claim 12
Depends on claim 6.
12. The method as recited in claim 6 , wherein
- Claim 12, element e1the sampling ratio is based at least in part on one or more of: 47–109
- Claim 12, element e2(a) a model training time goal, 115–141
- Claim 12, element e3(b) a model execution time goal, 147–174
- Claim 12, element e4(c) a model storage requirement goal, 180–212
- Claim 12, element e5(d) a resource utilization goal pertaining to one or more resources of the machine learning service, 218–313
- Claim 12, element e6(e) a budget goal indicated by the client, or (f) a prediction accuracy goal.319–391
Claim 13
Depends on claim 6.
13. The method as recited in claim 6 , further comprising
- Claim 13, element e1performing, by the one or more computing devices: 58–106
- Claim 13, element e2selecting the sampling methodology from among a plurality of methodologies including at least one of: 108–208
- Claim 13, element e3(a) a random sampling methodology with no replacement, or (b) a random sampling methodology with replacement.214–318
Claim 14
Depends on claim 6.
14. The method as recited in claim 6 , wherein
- Claim 14, element e1the particular machine learning model is one of: 47–94
- Claim 14, element e2a regression model, a decision tree based model, a linear model, or a non-linear model.96–182
Claim 15
Depends on claim 6.
15. The method as recited in claim 6 , wherein
- Claim 15, element e1the training data set includes class labels generated by an unsupervised learning model.47–134
Claim 16
Independent claim.
16. A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors: determine, at a machine learning service and in a training data set for training a machine learning model, a majority category of observation records and one or more minority categories of observation records; determine a population ratio between a number of observation records in the majority category and a number of observation records in one of the one or more minority categories, and that the population ratio is greater than a threshold ratio for triggering an automated category-dependent sampling of the training data set for training the machine learning model; identify a sampling ratio to be used for a particular category of the majority category of observation records in the training data set and the one or more minority categories of observation records in the training data set, wherein
- Claim 16, element e1the sampling ratio indicates a fraction of observations records in the particular category and is not indicated by a client on whose behalf the machine learning model is to be trained; 937–1120
- Claim 16, element e2apply a selected sampling methodology to the particular category to obtain a sample in accordance with the sampling ratio; and 1122–1243
- Claim 16, element e3train the machine learning model using a result of applying the selected sampling methodology on the particular category.1249–1369
4 dependent claims: 17 to 20 (17, 18, 19, 20 on claim 16)
Claim 17
Depends on claim 16.
17. The non-transitory computer-accessible storage medium as recited in claim 16 , wherein
- Claim 17, element e1the particular category is a minority category.91–137
Claim 18
Depends on claim 16.
18. The non-transitory computer-accessible storage medium as recited in claim 16 , wherein
- Claim 18, element e1the threshold ratio is part of an imbalance criterion that triggers the automated category-dependent sampling of the training data set for training the machine learning model and determined based at least in part on a problem domain of machine learning model.91–349
Claim 19
Depends on claim 16.
19. The non-transitory computer-accessible storage medium as recited in claim 16 , wherein
- Claim 19, element e1the sampling ratio is based on one or more of: 91–136
- Claim 19, element e2(a) a model training time goal, 142–168
- Claim 19, element e3(b) a model execution time goal, 174–201
- Claim 19, element e4(c) a model storage requirement goal, 207–239
- Claim 19, element e5(d) a resource utilization goal pertaining to one or more resources of the machine learning service, 245–340
- Claim 19, element e6(e) a budget goal indicated by the client, or (f) a prediction accuracy goal.346–418
Claim 20
Depends on claim 16.
20. The non-transitory computer-accessible storage medium as recited in claim 16 , wherein
- Claim 20, element e1the machine learning model is one of: 91–127
- Claim 20, element e2a regression model, a decision tree-based model, a linear model, or a non-linear model.129–215
1. A system, comprising: one or more computing devices that include one or more processors, configured to: receive, at a machine learning service implemented at a provider network, an indication of a data set to be used to train one or more machine learning models on behalf of a client of the service, wherein the data set comprises a plurality of observation records; analyze at least a subset of the observation records in the data set to: identify, based at least in part on respective values of one or more dependent variables indicated in the analyzed observation records, a plurality of categories of observation records including a majority category and one or more minority categories; and determine a population ratio between a number of observation records in the majority category and a number of observation records in one of the one or more minority categories, and that the population ratio is greater than a threshold ratio; determine, based at least in part on the determination that the population ratio is greater than the threshold ratio, to use a category-dependent sampling of the data set that selects from the data set respective samples of individual categories of the plurality of categories, including a first category and a second category, to train a particular machine learning model; select a first sampling ratio to be used for sampling the first category of the observation records in the data set, and a second sampling ratio to be used for sampling the second category of the observation records in the data set, wherein the first and second sampling ratios indicate respective fractions of observations records of the first and second categories, and at least one sampling ratio of the first and second sampling ratios is not indicated by a client on whose behalf the particular machine learning model is to be trained; identify respective sampling methodologies to be applied to the first category and the second category to obtain the respective samples in accordance with the first and second sampling ratios; train the particular machine learning model using at least a result of applying the respective sampling methodologies to the first category and the second category; and provide an indication of the particular machine learning model to the client.
2. The system as recited in claim 1 , wherein at least one sampling ratio of the first and second sampling ratios is selected based at least in part on a problem domain for which the particular machine learning model is to be trained.
3. The system as recited in claim 1 , wherein at least one sampling ratio of the first and second sampling ratios is selected based at least in part on a memory size constraint of a particular server of the machine learning service.
4. The system as recited in claim 1 , wherein the system is configured to determine to generate the respective samples of the categories to train the particular machine learning model based at least in part on a performance goal that comprises one or more of: (a) a model training time goal (b) a model execution time goal (c) a model storage requirement goal (d) a resource utilization goal pertaining to one or more resources of the machine learning service (e) a budget goal indicated by the client, or (f) a prediction accuracy goal.
5. The system as recited in claim 1 , wherein the particular machine learning model is one of: a regression model, a decision tree-based model, a linear model, or a non-linear model.
6. A method, comprising: performing, by one or more computing devices: identifying, at a machine learning service, a majority category of observation records of a training data set to be used for a particular machine learning model, and one or more minority categories of observation records of the training data set; determining a population ratio between a number of observation records in the majority category and a number of observation records in one of the one or more minority categories; and determining that the population ratio is greater than a threshold ratio to trigger an automated category-dependent sampling of the training data set for training the machine learning model; identifying a sampling ratio to be used for a particular category of the majority category of observation records in the training data set and the one or more minority categories of observation records in the training data set, wherein the sampling ratio indicates a fraction of observations records in the particular category and is not indicated by a client on whose behalf the particular machine learning model is to be trained; applying a selected sampling methodology to the particular category to obtain a sample in accordance with the sampling ratio; and training the particular machine learning model using a result of applying at least the selected sampling methodology on the particular category.
7. The method as recited in claim 6 , wherein the particular category is a minority category.
8. The method as recited in claim 6 , wherein the particular category is the majority category.
9. The method as recited in claim 6 , further comprising performing, by the one or more computing devices: receiving a model training request formatted in accordance with a programmatic interface implemented by the machine learning service, wherein the training data set is indicated in the model training request.
10. The method as recited in claim 6 , wherein the sampling ratio is based at least in part on a problem domain indicated by the client.
11. The method as recited in claim 6 , wherein the sampling ratio is based at least in part on a memory size constraint of a particular server of the machine learning service.
12. The method as recited in claim 6 , wherein the sampling ratio is based at least in part on one or more of: (a) a model training time goal, (b) a model execution time goal, (c) a model storage requirement goal, (d) a resource utilization goal pertaining to one or more resources of the machine learning service, (e) a budget goal indicated by the client, or (f) a prediction accuracy goal.
13. The method as recited in claim 6 , further comprising performing, by the one or more computing devices: selecting the sampling methodology from among a plurality of methodologies including at least one of: (a) a random sampling methodology with no replacement, or (b) a random sampling methodology with replacement.
14. The method as recited in claim 6 , wherein the particular machine learning model is one of: a regression model, a decision tree based model, a linear model, or a non-linear model.
15. The method as recited in claim 6 , wherein the training data set includes class labels generated by an unsupervised learning model.
16. A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors: determine, at a machine learning service and in a training data set for training a machine learning model, a majority category of observation records and one or more minority categories of observation records; determine a population ratio between a number of observation records in the majority category and a number of observation records in one of the one or more minority categories, and that the population ratio is greater than a threshold ratio for triggering an automated category-dependent sampling of the training data set for training the machine learning model; identify a sampling ratio to be used for a particular category of the majority category of observation records in the training data set and the one or more minority categories of observation records in the training data set, wherein the sampling ratio indicates a fraction of observations records in the particular category and is not indicated by a client on whose behalf the machine learning model is to be trained; apply a selected sampling methodology to the particular category to obtain a sample in accordance with the sampling ratio; and train the machine learning model using a result of applying the selected sampling methodology on the particular category.
17. The non-transitory computer-accessible storage medium as recited in claim 16 , wherein the particular category is a minority category.
18. The non-transitory computer-accessible storage medium as recited in claim 16 , wherein the threshold ratio is part of an imbalance criterion that triggers the automated category-dependent sampling of the training data set for training the machine learning model and determined based at least in part on a problem domain of machine learning model.
19. The non-transitory computer-accessible storage medium as recited in claim 16 , wherein the sampling ratio is based on one or more of: (a) a model training time goal, (b) a model execution time goal, (c) a model storage requirement goal, (d) a resource utilization goal pertaining to one or more resources of the machine learning service, (e) a budget goal indicated by the client, or (f) a prediction accuracy goal.
20. The non-transitory computer-accessible storage medium as recited in claim 16 , wherein the machine learning model is one of: a regression model, a decision tree-based model, a linear model, or a non-linear model.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 11182691 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2039-02-14 (20 years from filing, plus 1645 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:1645 (20 years from filing, plus 1645 days of patent term adjustment)
- Term end
- 2039-02-14 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 22 US patent documents · Cited by: 53 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/11182691/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "11182691",
"status": "active",
"basis": [
"term_20y",
"pta_days:1645"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2039-02-14",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/11182691?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/11182691?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/11182691/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=11182691",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/11182691/ - Status record
/api/v1/lapse/status/11182691/ - Claim tree
/api/v1/structure/claims/11182691/ - Brief
/api/v1/structure/brief/11182691/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.