# US 2023/0068816 A1 · Providing a machine learning model based on desired metric values

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

- Number: US 2023/0068816 A1
- Document ID: US20230068816A1
- Status: Published application
- Kind: A1
- Application number: 17/412,474
- Filed: 2021-08-26
- Published: 2023-03-02
- Earliest claimed: 2021-08-26
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Lukasz G. Cmielowski; Daniel Jakub Ryszka; Wojciech Sobala; Jan Soltysik
- Web page: https://patentgrep.com/patent/US20230068816A1

## CPC

- G06N 20/00: Machine learning
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 18/40: Software arrangements specially adapted for pattern recognition, e.g. user interfaces or toolboxes therefor
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to a method for generating a machine learning (ML) model. The method comprises: receiving a selection of a desired value of the metric for predicting a value of the first label attribute based on a current training dataset. Previously obtained sets of training settings may be used for determining a set of training settings that corresponds to the desired value of the metric. A ML engine may be controlled to generate using the current training dataset a machine learning model according to the determined set of training settings. The generated machine learning model may be deployed for performing predictions of values of the first label attribute.

## Claims

### Claim 1

A computer-implemented method for training a machine learning model comprising:
receiving a set of training settings and a training dataset comprising a first feature attribute and a first label attribute;
generating at least one machine learning model based on the training dataset and the set of training settings, wherein the machine learning model is configured to predict the first label attribute from the first feature attribute;
providing a desired value of the metric for the generated machine learning model;
obtaining sets of training settings of one or more previous operations and associated values of the metric;
receiving a value for the metric for predicting a value of the first label attribute based on a current training dataset;
determining a set of training settings that corresponds to the desired value of the metric based on the obtained sets of training settings;
generating a machine learning model based on the determined set of training settings; and
deploying the generated machine learning model.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein determining of the set of training settings comprises:
creating a training set, wherein the training set is at least one entry per set of training settings of the obtained sets of training settings, wherein each entry is an input vector and an associated output vector, wherein the input vector is the value of the metric and metadata descriptive of the attributes and the output vector is the set of training settings; and
training a predictive model based on the training set for predicting the set of settings.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein determining of the set of settings comprises:
selecting the set of settings of the obtained set of settings that correspond to the desired value of the metric.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the set of training settings comprises a first subset of settings for pre-processing the training dataset, a second subset of settings for selection of one or more learning algorithms that are suitable for the prediction and a third subset of settings for training optimization.

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, wherein the metadata descriptive of the attributes comprising at least one of the following: a number of feature attributes, a type of the feature attributes, and a type of the label attribute.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising:
normalizing the metric values to a range with a predefined granularity, wherein the obtained sets of the settings are provided according to the granularity, wherein each set of the obtained sets of settings represents a respective level of granularity.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein receiving of the selection further comprises:
receiving a selection of a granularity level.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein receiving the selection further comprises:
displaying a graphical user interface, wherein the graphical user interface comprises a slider allowing a user may set a value, the slider comprising the range of normalized values, wherein the set value of the slider is the received selected value of the metric.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, where the metric corresponds to at least one of the following: a runtime of the training, inference of the machine learning model, and precision of the machine learning model.

### Claim 10 (depends on 1)

The computer implemented method of claim 1, wherein the metric is a combination of two or more metric types, wherein each metric type is associated with a distinct set of settings of the sets of settings.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, further comprising:
logging the determined set of settings and the value of the metric associated with it.

### Claim 12

A computer-implemented method for defining a metric for evaluating performances of machine learning models, the computer-implemented method comprising:
receiving a set of training settings and a training dataset comprising a first feature attribute and a first label attribute;
generating using the training dataset at least one machine learning model according to the set of training settings, the machine learning model being configured to predict the first label attribute from the first feature attribute;
providing a value of the metric for the generated machine learning model;
obtaining sets of training settings of previous operations of the ML engine and associated values of the metric;
receiving a selection of a desired value of the metric for predicting a value of the first label attribute based on a current training dataset;
using the obtained sets of training settings for determining a set of training settings that corresponds to the desired value of the metric;
controlling the ML engine to generate using the current training dataset a machine learning model according to the determined set of training settings; and
deploying the generated machine learning model for performing predictions of values of the first label attribute.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, further comprising:
creating a training set comprising an entry per set of training settings of the obtained sets of training settings, wherein each entry comprises an input vector and associated output vector, the input vector comprising the value of the metric and metadata descriptive of the attributes, the output vector comprising the set of training settings; and
training a predictive model using the training set for predicting the set of settings by providing as input to the predictive model the desired value of the metric and metadata of the attributes of the current training dataset for receiving as output said determined set of settings.

### Claim 14

A computer system for generating actionable change request risk classifications, the method comprising:
a processor;
a readable storage media; and
computer program instructions to:
receive a set of training settings and a training dataset comprising a first feature attribute and a first label attribute;
generate at least one machine learning model based on the training dataset and the set of training settings, wherein the machine learning model is configured to predict the first label attribute from the first feature attribute;
provide a value of the metric for the generated machine learning model;
obtain sets of training settings of one or more previous operations and associated values of the metric;
receive a value for the metric for predicting a value of the first label attribute based on a current training dataset;
determine a set of training settings that corresponds to the desired value of the metric based on the obtained sets of training settings;
generate a machine learning model based on the determined set of training settings; and
deploy the generated machine learning model.

### Claim 15 (depends on 14)

The computer system of claim 14, wherein determining of the set of training settings comprises computer program instructions to:
create a training set, wherein the training set is at least one entry per set of training settings of the obtained sets of training settings, wherein each entry is an input vector and an associated output vector, wherein the input vector is the value of the metric and metadata descriptive of the attributes and the output vector is the set of training settings; and
train a predictive model based on the training set for predicting the set of settings.

### Claim 16 (depends on 14)

The computer system of claim 14, wherein determining of the set of settings comprises computer program instructions to:
selecting the set of settings of the obtained set of settings that correspond to the desired value of the metric.

### Claim 17 (depends on 14)

The computer system of claim 14, wherein the set of training settings comprises a first subset of settings for pre-processing the training dataset, a second subset of settings for selection of one or more learning algorithms that are suitable for the prediction and a third subset of settings for training optimization.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein the metadata descriptive of the attributes comprising at least one of the following: a number of feature attributes, a type of the feature attributes, and a type of the label attribute.

### Claim 19 (depends on 14)

The computer system of claim 14, further comprising computer program instructions to:
normalize the metric values to a range with a predefined granularity, wherein the obtained sets of the settings are provided according to the granularity, wherein each set of the obtained sets of settings represents a respective level of granularity.

### Claim 20 (depends on 19)

The computer system of claim 19, wherein receiving of the selection further comprises program instructions to:
receive a selection of a granularity level.
