# US 2021/0334593 A1 · Recommending scripts for constructing 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/0334593 A1
- Document ID: US20210334593A1
- Status: Published application
- Kind: A1
- Application number: 16/861,177
- Filed: 2020-04-28
- Published: 2021-10-28
- Earliest claimed: 2020-04-28
- Assignees: AT&T Intellectual Property I, L.P.
- Applicants: AT&T Intellectual Property I, L.P.
- Inventors: Chris Vo; Jeremy T. Fix; Robert Woods, JR.
- Web page: https://patentgrep.com/patent/US20210334593A1

## CPC

- G06N 20/00: Machine learning
- G06F 8/36: Software reuse
- G06F 18/213: Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/2415: based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
- G06F 18/285: {Selection of pattern recognition techniques, e.g. of classifiers in a multi-classifier system}
- G06F 18/40: Software arrangements specially adapted for pattern recognition, e.g. user interfaces or toolboxes therefor
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example method includes building a set of test data for a machine learning model, in response to receiving a target data set from a user, wherein the target data set is a data set on which the machine learning model is to be trained to operate, identifying a subset of predefined features engineering action scripts from among a plurality of predefined features engineering action scripts, wherein the subset is determined to be applicable to the set of test data, and automatically generating a recommended features engineering action script for operating on the target data set, wherein the automatically generating includes customizing a parameter of a predefined features engineering action script of the subset to extract data values from locations in the target data set, and wherein the recommended features engineering action script is recommended to the user for inclusion in a features engineering component of the machine learning model.

## Claims

### Claim 1

A method comprising:
building, by a processing system including at least one processor, a set of test data for a machine learning model, wherein the building is performed in response to receiving a target data set from a user, wherein the target data set is a data set on which the machine learning model is to be trained to operate;
identifying, by the processing system, a subset of predefined features engineering action scripts from among a plurality of predefined features engineering action scripts, wherein the subset of predefined features engineering action scripts is determined to be applicable to the set of test data; and
automatically generating, by the processing system, a recommended features engineering action script for operating on the target data set, wherein the automatically generating comprises customizing at least one parameter of at least one predefined features engineering action script of the subset of predefined features engineering action scripts to extract data values from at least one location in the target data set, and wherein the recommended features engineering action script is recommended to the user for inclusion in a features engineering component of the machine learning model.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, by the processing system, a use case for the machine learning model from the user, wherein the use case defines information that the user wishes to extract from the target data set.

### Claim 3 (depends on 1)

The method of claim 1, wherein the target data set comprises data presented in a plurality of columns.

### Claim 4 (depends on 1)

The method of claim 1, wherein the building comprises:
formatting, by the processing system, the set of test data to specify data types of data contained in the set of target data.

### Claim 5 (depends on 1)

The method of claim 1, wherein a predefined features engineering action script of the subset of predefined features engineering action scrips is applicable to the set of test data when a data type contained in the set of test data is a data type on which the predefined features engineering action script is configured to operate.

### Claim 6 (depends on 1)

The method of claim 1, wherein operation of the recommended features engineering action script on the set of target data results in data being added to the set of target data.

### Claim 7 (depends on 1)

The method of claim 1, wherein the identifying comprises feeding the set of test data to a recommendation system.

### Claim 8 (depends on 7)

The method of claim 7, wherein the recommendation system is trained by:
building, by the processing system, a set of training data, wherein the building is based on prior usages of the plurality of predefined features engineering action scripts in previously constructed machine learning models; and
feeding, by the processing system, the set of training data to the recommendation system, wherein operation of the recommendation system on the set of training data trains the recommendation system as a classification model which classifies a data type according to types of predefined features engineering action scripts by which the data type may be operated on.

### Claim 9 (depends on 1)

The method of claim 1, wherein the at least one predefined features engineering action script comprises a generic script that is customizable for a plurality of use cases.

### Claim 10 (depends on 1)

The method of claim 1, wherein the at least one predefined features engineering action script is created by another user via a first user interface and saved to a library that stores the plurality of predefined features engineering action scripts.

### Claim 11 (depends on 10)

The method of claim 10, further comprising, prior to the building:
presenting, by the processing system to the another user, the first user interface; and
generating, by the processing system, a generic features engineering action script based on inputs to the first user interface that are provided by the another user.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
generating, by the processing system, a second user interface by which the generic features engineering action script can be customized.

### Claim 13 (depends on 12)

The method of claim 12, wherein the second user interface comprises at least one field for receiving a value that customizes a parameter of the generic features engineering action script.

### Claim 14

A non-transitory computer-readable medium storing instructions which, when executed by a processing system including at least one processor, cause the processing system to perform operations, the operations comprising:
building a set of test data for a machine learning model, wherein the building is performed in response to receiving a target data set from a user, wherein the target data set is a data set on which the machine learning model is to be trained to operate;
identifying a subset of predefined features engineering action scripts from among a plurality of predefined features engineering action scripts, wherein the subset of predefined features engineering action scripts is determined to be applicable to the set of test data; and
automatically generating a recommended features engineering action script for operating on the target data set, wherein the automatically generating comprises customizing at least one parameter of at least one predefined features engineering action script of the subset of predefined features engineering action scripts to extract data values from at least one location in the target data set, and wherein the recommended features engineering action script is recommended to the user for inclusion in a features engineering component of the machine learning model.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein a predefined features engineering action script of the subset of predefined features engineering action scrips is applicable to the set of test data when a data type contained in the set of test data is a data type on which the predefined features engineering action script is configured to operate.

### Claim 16 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the identifying comprises feeding the set of test data to a recommendation system, and wherein the recommendation system is trained by:
building a set of training data, wherein the building is based on prior usages of the plurality of predefined features engineering action scripts in previously constructed machine learning models; and
feeding the set of training data to the recommendation system, operation of the recommendation system on the set of training date trains the recommendation system as a classification model which classifies a data type according to types of predefined features engineering action scripts by which the data type may be operated on.

### Claim 17 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the at least one predefined features engineering action script comprises a generic script that is customizable for a plurality of use cases.

### Claim 18

A device comprising:
a processing system including at least one processor; and
a non-transitory computer-readable medium storing instructions which, when executed by the processing system, cause the processing system to perform operations, the operations comprising:
building a set of test data for a machine learning model, wherein the building is performed in response to receiving a target data set from a user, wherein the target data set is a data set on which the machine learning model is to be trained to operate;
identifying a subset of predefined features engineering action scripts from among a plurality of predefined features engineering action scripts, wherein the subset of predefined features engineering action scripts is determined to be applicable to the set of test data; and
automatically generating a recommended features engineering action script for operating on the target data set, wherein the automatically generating comprises customizing at least one parameter of at least one predefined features engineering action script of the subset of predefined features engineering action scripts to extract data values from at least one location in the target data set, and wherein the recommended features engineering action script is recommended to the user for inclusion in a features engineering component of the machine learning model.

### Claim 19 (depends on 18)

The device of claim 18, wherein a predefined features engineering action script of the subset of predefined features engineering action scrips is applicable to the set of test data when a data type contained in the set of test data is a data type on which the predefined features engineering action script is configured to operate.

### Claim 20 (depends on 18)

The device of claim 18, wherein the identifying comprises feeding the set of test data to a recommendation system, and wherein the recommendation system is trained by:
building a set of training data, wherein the building is based on prior usages of the plurality of predefined features engineering action scripts in previously constructed machine learning models; and
feeding the set of training data to the recommendation system, operation of the recommendation system on the set of training date trains the recommendation system as a classification model which classifies a data type according to types of predefined features engineering action scripts by which the data type may be operated on.
