# US 2023/0065790 A1 · Data analysis tool with precalculated metrics

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

- Number: US 2023/0065790 A1
- Document ID: US20230065790A1
- Status: Published application
- Kind: A1
- Application number: 17/410,006
- Filed: 2021-08-24
- Published: 2023-03-02
- Earliest claimed: 2021-08-24
- Assignees: Target Brands, Inc.
- Applicants: Target Brands, Inc.
- Inventors: Joey Ahnn; Samrat Mitra; Vijayalakshmi Karasani; Gaurav Gupta
- Web page: https://patentgrep.com/patent/US20230065790A1

## CPC

- G06F 16/24564: {Applying rules; Deductive queries}
- G06F 16/2423: {Interactive query statement specification based on a database schema}
- G06F 16/244: {Grouping and aggregation}
- G06F 16/2462: {Approximate or statistical queries}
- G06F 16/26: Visual data mining; Browsing structured data
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In the general, the subject matter of the present disclosure relates to a data analysis tool that helps consumers, such as data scientists and engineers, understand datasets better. The disclosed data analysis framework/tool surfaces metrics to data consumers to visually inspect and understand large datasets more efficiently. In addition to the pre-computed and pre-collected metrics on given datasets or tables, the disclosed data analysis tool may also provide a way to detect various anomalies associated with the datasets.

## Claims

### Claim 1

A method for analyzing a dataset, the method comprising:
receiving the dataset from one or more data sources, wherein the dataset includes a plurality of data values;
calculating one or more summary metrics associated with the dataset;
storing the dataset and the summary metrics in a data store;
dynamically updating the summary metrics in the data store in response to updates to the dataset;
receiving a request to detect any anomalies in the dataset;
applying one or more anomaly detection criteria to the one or more summary metrics associated with the dataset without evaluating the plurality of data values within the dataset;
determining that one or more summary metrics violate at least one of the one or more anomaly detection criteria; and
in response to determining that the one or more summary metrics violate at least one of the one or more anomaly detection criteria, determining that the dataset includes an anomaly.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
generating a graphical user interface for display on a user device, the graphical user interface including:
one or more options to select the dataset from the one or more data sources; and
a display portion that displays the dataset.

### Claim 4 (depends on 3)

The method of claim 3, wherein the display portion also displays the one or more summary metrics associated with the dataset.

### Claim 5 (depends on 3)

The method of claim 3, wherein the display portion also displays one or more visual indicators that the dataset includes one or more anomalies.

### Claim 6 (depends on 1)

The method of claim 1 wherein the receiving the dataset includes receiving at least a portion of one or more data tables, wherein each of the one or more data tables includes a plurality of rows and columns of data entries.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more data sources includes one or more databases.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more summary metrics includes at least one of: minimum, maximum, mean, standard deviation, null value count, zero value count and negative value count.

### Claim 9 (depends on 1)

The method of claim 1, wherein applying the one or more anomaly detection criteria include applying one or more rules to the calculated summary metrics associated with the dataset to test whether the dataset includes any data entries that violate the one or more rules.

### Claim 10

A data analysis system comprising:
a processor;
a memory storing instructions that when executed by the processor cause the processor to:
receive the dataset from one or more data sources, wherein the dataset includes a plurality of data values;
calculate one or more summary metrics associated with the dataset;
store the dataset and the summary metrics in a data store;
store the dataset and the summary metrics in a data store;
dynamically update the summary metrics in the data store in response to updates to the dataset;
receive a request to detect any anomalies in the dataset;
apply one or more anomaly detection criteria to the one or more summary metrics associated with the dataset without evaluating the plurality of data values within the dataset;
determine that one or more summary metrics violate at least one of the one or more anomaly detection criteria; and
in response to determining that the one or more summary metrics violate at least one of the one or more anomaly detection criteria, determine that the dataset includes an anomaly.

### Claim 11

(canceled)

### Claim 12 (depends on 10)

The data analysis system of claim 10, wherein the memory storing instructions that when executed by the processor further cause the processor to:
generate a graphical user interface for display on a user device, the graphical user interface including:
one or more options to select the dataset from the one or more data sources; and
a display portion that displays the dataset.

### Claim 13 (depends on 12)

The data analysis system of claim 12, wherein the display portion also displays the one or more summary metrics associated with the dataset.

### Claim 14 (depends on 12)

The data analysis system of claim 12, wherein the display portion also displays one or more visual indicators that the dataset includes one or more anomalies.

### Claim 15 (depends on 10)

The data analysis system of claim 10 wherein to receive the dataset includes to receive at least a portion of one or more data tables, wherein each of the one or more data tables includes a plurality of rows and columns of data entries.

### Claim 16 (depends on 10)

The data analysis system of claim 10, wherein the one or more data sources includes one or more databases.

### Claim 17 (depends on 10)

The data analysis system of claim 10, wherein the one or more summary metrics includes at least one of: minimum, maximum, mean, standard deviation, null value count, zero value count and negative value count.

### Claim 18 (depends on 17)

The data analysis system of claim 17, wherein the anomaly detection criteria are defined in a configuration file associated with the data analysis system.

### Claim 19 (depends on 10)

The data analysis system of claim 10, wherein to apply the one or more anomaly detection criteria includes to apply one or more rules to the calculated summary metrics associated with the dataset to test whether the dataset includes any data entries that violate the one or more rules.

### Claim 20

A computer implemented method for analyzing data, the method comprising:
receiving a selection of a dataset for analysis, wherein the dataset includes a plurality of data values;
retrieving the selected dataset from one or more data sources;
calculating one or more summary metrics associated with the dataset;
storing the dataset and the summary metrics in a data store;
dynamically updating the summary metrics in the data store in response to updates to the dataset:
generating a data analysis user interface for display on a user device, wherein the display includes at least a portion of the dataset and the calculated summary metrics for visual inspection from a user;
receiving a request through the user interface to detect any anomalies in the dataset;
applying one or more anomaly detection criteria to the one or more summary metrics associated with the dataset without evaluating the plurality of data values within the dataset;
determining that one or more summary metrics violate at least one of the one or more anomaly detection criteria; and
in response to determining that the one or more summary metrics violate at least one of the one or more anomaly detection criteria, determining that the dataset includes an anomaly.
