# US 2022/0035824 A1 · Guided Sampling for Improved Quality Testing

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

- Number: US 2022/0035824 A1
- Document ID: US20220035824A1
- Status: Published application
- Kind: A1
- Application number: 16/940,678
- Filed: 2020-07-28
- Published: 2022-02-03
- Earliest claimed: 2020-07-28
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Madhusudhanan Krishnamoorthy; Rajasekhar Reddy Patlolla; Shilpi Prashant Choudhari; Thenamudhan Arumugasamy; Giddaiah Kummari
- Web page: https://patentgrep.com/patent/US20220035824A1

## CPC

- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/24578: {using ranking}
- G06F 9/466: {Transaction processing}
- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- G06N 3/09: Supervised learning
- G06N 3/045: Combinations of networks
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A guided sampling tool guides the sampling of datapoints in large datasets. Generally, the guided sampling tool applies a machine learning algorithm to a database of historical issues encountered by an organization to guide the sampling of a large dataset. The guided sampling tool can evaluate and change provided variables and weights for performing a sampling. After the datapoints are sampled, the guided sampling tool compares the historic transactions represented by those datapoints to baseline images to determine if the historic transactions encountered a problem or issue, which would affect the overall quality assessment.

## Claims

### Claim 1

An apparatus comprising:
a memory; and
a hardware processor communicatively coupled to the memory, the hardware processor configured to:
receive, from a user, a first plurality of variables and a first plurality of weights assigned to the plurality of variables;
determine, from a log of historic errors, a second plurality of variables;
determine, from a matrix corresponding to the second plurality of variables, a second plurality of weights for the second plurality of variables;
implement changes to the first plurality of variables and the first plurality of weights such that the first plurality of variables matches the second plurality of variables and the first plurality of weights matches the second plurality of weights;
retrieve a plurality of historic transactions using a query that applies the second plurality of variables ordered according to the second plurality of weights;
compare a first historic transaction of the plurality of historic transactions with a first baseline image to determine that the first historic transaction is consistent with the first baseline image;
compare a second historic transaction of the plurality of historic transactions with a second baseline image to determine that the second historic transaction is inconsistent with the second baseline image; and
in response to determining that the second historic transaction is inconsistent with the second baseline image, flag the second historic transaction as erroneous.

### Claim 2 (depends on 1)

The apparatus of claim 1, the hardware processor further configured to receive approval for the changes from the user before implementing the changes.

### Claim 3 (depends on 1)

The apparatus of claim 1, the hardware processor further configured to:
determine that a variable of the second plurality of variables should be obfuscated; and
in response to determining that the variable should be obfuscated, remove a value of the variable from each historic transaction of the plurality of historic transactions.

### Claim 4 (depends on 1)

The apparatus of claim 1, the hardware processor further configured to communicate an alert that the second historic transaction is inconsistent with the second baseline image.

### Claim 5 (depends on 1)

The apparatus of claim 1, the hardware processor further configured to generate an image based on the second historic transaction, wherein comparing the second historic transaction with the second baseline image comprises comparing the image with the second baseline image.

### Claim 6 (depends on 1)

The apparatus of claim 1, the hardware processor further configured to flag the first historic transaction as correct in response to determining that the first historic transaction is consistent with the first baseline image.

### Claim 7 (depends on 1)

The apparatus of claim 1, the hardware processor further configured to add the second historic transaction to the log of historic errors in response to determining that the second historic transaction is inconsistent with the second baseline image.

### Claim 8

A method comprising:
receiving, by a hardware processor communicatively coupled to a memory and from a user, a first plurality of variables and a first plurality of weights assigned to the plurality of variables;
determining, by the hardware processor and from a log of historic errors, a second plurality of variables;
determining, by the hardware processor and from a matrix corresponding to the second plurality of variables, a second plurality of weights for the second plurality of variables;
implementing, by the hardware processor, changes to the first plurality of variables and the first plurality of weights such that the first plurality of variables matches the second plurality of variables and the first plurality of weights matches the second plurality of weights;
retrieving, by the hardware processor, a plurality of historic transactions using a query that applies the second plurality of variables ordered according to the second plurality of weights;
comparing, by the hardware processor, a first historic transaction of the plurality of historic transactions with a first baseline image to determine that the first historic transaction is consistent with the first baseline image;
comparing, by the hardware processor, a second historic transaction of the plurality of historic transactions with a second baseline image to determine that the second historic transaction is inconsistent with the second baseline image; and
in response to determining that the second historic transaction is inconsistent with the second baseline image, flagging, by the hardware processor, the second historic transaction as erroneous.

### Claim 9 (depends on 8)

The method of claim 8, further comprising receiving, by the hardware processor, approval for the changes from the user before implementing the changes.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
determining, by the hardware processor, that a variable of the second plurality of variables should be obfuscated; and
in response to determining that the variable should be obfuscated, removing, by the hardware processor, a value of the variable from each historic transaction of the plurality of historic transactions.

### Claim 11 (depends on 8)

The method of claim 8, further comprising communicating, by the hardware processor, an alert that the second historic transaction is inconsistent with the second baseline image.

### Claim 12 (depends on 8)

The method of claim 8, further comprising generating, by the hardware processor, an image based on the second historic transaction, wherein comparing the second historic transaction with the second baseline image comprises comparing the image with the second baseline image.

### Claim 13 (depends on 8)

The method of claim 8, further comprising flagging, by the hardware processor, the first historic transaction as correct in response to determining that the first historic transaction is consistent with the first baseline image.

### Claim 14 (depends on 8)

The method of claim 8, further comprising adding, by the hardware processor, the second historic transaction to the log of historic errors in response to determining that the second historic transaction is inconsistent with the second baseline image.

### Claim 15

A system comprising:
a database; and
a guided sampling tool comprising a memory and a hardware processor communicatively coupled to the memory, the hardware processor configured to:
receive, from a user, a first plurality of variables and a first plurality of weights assigned to the plurality of variables;
determine, from a log of historic errors, a second plurality of variables;
determine, from a matrix corresponding to the second plurality of variables, a second plurality of weights for the second plurality of variables;
implement changes to the first plurality of variables and the first plurality of weights such that the first plurality of variables matches the second plurality of variables and the first plurality of weights matches the second plurality of weights;
retrieve, from the database, a plurality of historic transactions using a query that applies the second plurality of variables ordered according to the second plurality of weights;
compare a first historic transaction of the plurality of historic transactions with a first baseline image to determine that the first historic transaction is consistent with the first baseline image;
compare a second historic transaction of the plurality of historic transactions with a second baseline image to determine that the second historic transaction is inconsistent with the second baseline image; and
in response to determining that the second historic transaction is inconsistent with the second baseline image, flag the second historic transaction as erroneous.

### Claim 16 (depends on 15)

The system of claim 15, the hardware processor further configured to receive approval for the changes from the user before implementing the changes.

### Claim 17 (depends on 15)

The system of claim 15, the hardware processor further configured to:
determine that a variable of the second plurality of variables should be obfuscated; and
in response to determining that the variable should be obfuscated, remove a value of the variable from each historic transaction of the plurality of historic transactions.

### Claim 18 (depends on 15)

The system of claim 15, the hardware processor further configured to communicate an alert that the second historic transaction is inconsistent with the second baseline image.

### Claim 19 (depends on 15)

The system of claim 15, the hardware processor further configured to generate an image based on the second historic transaction, wherein comparing the second historic transaction with the second baseline image comprises comparing the image with the second baseline image.

### Claim 20 (depends on 15)

The system of claim 15, the hardware processor further configured to flag the first historic transaction as correct in response to determining that the first historic transaction is consistent with the first baseline image.
