# US 2021/0287048 A1 · System and method for efficient generation of machine-learning models

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0287048 A1
- Document ID: US20210287048A1
- Status: Published application
- Kind: A1
- Application number: 17/337,053
- Filed: 2021-06-02
- Published: 2021-09-16
- Earliest claimed: 2019-03-22
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Austin WALTERS; Jeremy GOODSITT; Vincent PHAM
- Web page: https://patentgrep.com/patent/US20210287048A1

## CPC

- G06F 16/9536: Search customisation based on social or collaborative filtering
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/9035: Filtering based on additional data, e.g. user or group profiles
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06F 18/24133: {Distances to prototypes}
- G06F 18/24147: {Distances to closest patterns, e.g. nearest neighbour classification}
- G06F 18/2431: Multiple classes
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system for determining data requirements to generate machine-learning models. The system may include one or more processors and one or more storage devices storing instructions. When executed, the instructions may configure the one or more processors to perform operations including: receiving a sample dataset, generating a plurality of data categories based on the sample dataset; generating a plurality of primary models of different model types using data from the corresponding one of the data categories as training data; generating a sequence of secondary models by training the corresponding one of the primary models with progressively less training data; identifying minimum viable models in the sequences of secondary models; determining a number of samples required for the minimum viable models; and generating entries in the database associating: model types; corresponding data categories; and corresponding numbers of samples in the training data used for the minimum viable models.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A system comprising:
at least one processor; and
at least one memory device storing instruction that, when executed, configure the at least one processor to:
generate a plurality of primary models using training data from a plurality of data categories, the plurality of primary models comprising at least one neural network, at least one multilayer perceptron, and at least one regression;
generate a plurality of entries in a database, each of the plurality of entries comprising:
a model type selected from neural network, multilayer perceptron, or regression;
a data category; and
a number of required training samples and a number of required validation samples, the number of required training samples and the number of required validation samples corresponding to a minimum number of samples required for achieving a threshold accuracy in one or more of the plurality of primary models;
receive a model-training request from a client device, the model-training request specifying a target model type and a user dataset; and
generate a model of the target model type tailored for the user dataset using the minimum number of samples from the user dataset for training and validation.

### Claim 22 (depends on 21)

The system of claim 21, wherein the model-training request is received via a graphical user interface, the graphical user interface comprising:
a data input field specifying a location of the user dataset; and
a selector of parameter options specifying the target model type.

### Claim 23 (depends on 22)

The system of claim 22, wherein the threshold accuracy is defined by a user of the client device via the graphical user interface.

### Claim 24 (depends on 21)

The system of claim 21, wherein the processor is further configured to transmit a notification indicative of the minimum number of samples to the client device.

### Claim 25 (depends on 24)

The system of claim 24, wherein the processor is further configured to transmit resulting hyperparameters and estimated accuracy to the client device along the minimum number of samples.

### Claim 26 (depends on 21)

The system of claim 21, wherein the data category is selected from a group comprising weekly card transactions, monthly card transactions, or yearly card transactions.

### Claim 27 (depends on 21)

The system of claim 21, wherein the processor is further configured to:
generate a user data category by determining a periodicity and statistical features of the user dataset;
identify at least one of the plurality of entries comprising the data category with closest similarity to the user data category.

### Claim 28 (depends on 21)

The system of claim 21, wherein the plurality of primary models comprise a plurality of neural networks with different hyper-parameters, a plurality of multilayer perceptrons with different hyper-parameters, and a plurality of regressions with different hyper-parameters.

### Claim 29 (depends on 28)

The system of claim 28, wherein the processor is further configured to:
after generating the plurality of primary models, generate sequences of secondary models by retraining the primary models using progressively less data but maintaining the same hyper-parameters as corresponding primary models.

### Claim 30 (depends on 28)

The system of claim 28, wherein the processor is further configured to:
after receiving the model-training request, generate a notification to the client device in response to determining the user dataset is smaller than the minimum number of samples in a selected one of the plurality of entries.

### Claim 31

A computer-implemented method comprising:
generating a plurality of primary models using training data from a plurality of data categories, the plurality of primary models comprising at least one neural network, at least one multilayer perceptron, and at least one regression;
generating a plurality of entries in a database, each of the plurality of entries comprising:
a model type selected from neural network, multilayer perceptron, or regression;
a data category; and
a number of required training samples and a number of required validation samples, the number of required training samples and the number of required validation samples corresponding to a minimum number of samples required for achieving a threshold accuracy in one or more of the plurality of primary models;
receiving a model-training request from a client device, the model-training request specifying a target model type and a user dataset; and
generating a model of the target model type tailored for the user dataset using the minimum number of samples from the user dataset for training and validation.

### Claim 32 (depends on 31)

The method of claim 31, wherein the model-training request is received via a graphical user interface, the graphical user interface comprising:
a data input field specifying a location of the user dataset; and
a selector of parameter options specifying the target model type.

### Claim 33 (depends on 32)

The method of claim 32, wherein the threshold accuracy is defined by a user of the client device via the graphical user interface.

### Claim 34 (depends on 31)

The method of claim 31, further comprising:
transmitting a notification indicative of the minimum number of samples to the client device.

### Claim 35 (depends on 34)

The method of claim 34, further comprising:
transmitting resulting hyperparameters and estimated accuracy to the client device along the minimum number of samples.

### Claim 36 (depends on 31)

The method of claim 31, wherein the data category is selected from a group comprising weekly card transactions, monthly card transactions, or yearly card transactions.

### Claim 37 (depends on 31)

The method of claim 31, further comprising:
generating a user data category by determining a periodicity and statistical features of the user dataset;
identifying at least one of the plurality of entries comprising the data category with closest similarity to the user data category.

### Claim 38 (depends on 31)

The method of claim 31, wherein the plurality of primary models comprise a plurality of neural networks with different hyper-parameters, a plurality of multilayer perceptrons with different hyper-parameters, and a plurality of regressions with different hyper-parameters.

### Claim 39 (depends on 38)

The method of claim 38, further comprising:
after generating the plurality of primary models, generating sequences of secondary models by retraining the primary models using progressively less data but maintaining the same hyper-parameters as corresponding primary models; and
after receiving the model-training request, generating a notification to the client device in response to determining the user dataset is smaller than the minimum number of samples in a selected one of the plurality of entries.

### Claim 40

A non-transitory computer readable medium storing instructions that, when executed by at least one processor, configured the at least one processor to perform operations comprising:
generating a plurality of primary models using training data from a plurality of data categories, the plurality of primary models comprising at least one neural network, at least one multilayer perceptron, and at least one regression;
generating a plurality of entries in a database, each of the plurality of entries comprising:
a model type selected from neural network, multilayer perceptron, or regression;
a data category; and
a number of required training samples and a number of required validation samples, the number of required training samples and the number of required validation samples corresponding to a minimum number of samples required for achieving a threshold accuracy in one or more of the plurality of primary models;
receiving a model-training request from a client device, the model-training request specifying a target model type and a user dataset; and
generating a model of the target model type tailored for the user dataset using the minimum number of samples from the user dataset for training and validation.
