# US 2025/0165856 A1 · Distributed computation of machine learning model performance metrics

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

- Number: US 2025/0165856 A1
- Document ID: US20250165856A1
- Status: Published application
- Kind: A1
- Application number: 18/517,783
- Filed: 2023-11-22
- Published: 2025-05-22
- Earliest claimed: 2023-11-22
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Amit Kumar Prajapati; Furqan Abdul Samad Shaikh; Antariksha Bhaduri
- Web page: https://patentgrep.com/patent/US20250165856A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 20/00: Machine learning
- G06N 3/09: Supervised learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques are described for determining at least one performance metric of a machine learning model. The techniques including, obtaining a dataset generated by at least using output of the machine learning model, partitioning the dataset into two or more partitions that include one or more elements from the dataset; and generating, for each respective partition, a respective first quantile sketch and a respective second quantile sketch based at least in part on each element in the respective partition. The techniques further including generating a first merged quantile sketch by merging each respective first quantile sketch, generating a second merged quantile sketch by merging each respective second quantile sketch, and determining the at least one performance metric of the machine learning model using the first merged quantile sketch and the second merged quantile sketch.

## Claims

### Claim 1

A computer-implemented method of determining at least one performance metric of a machine learning model, the method comprising:
obtaining a dataset generated by at least using output of the machine learning model;
partitioning the dataset into two or more partitions that include one or more elements from the dataset;
generating, for each respective partition, a respective first quantile sketch and a respective second quantile sketch based at least in part on each element in the respective partition;
generating a first merged quantile sketch by merging each respective first quantile sketch;
generating a second merged quantile sketch by merging each respective second quantile sketch; and
determining the at least one performance metric of the machine learning model using the first merged quantile sketch and the second merged quantile sketch.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the dataset includes a prediction score value from the output of the machine learning model and a ground truth value.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the partitioning occurs based on at least one of: a size of the dataset, available resources, location of the available resources, and network activity.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the respective first quantile sketch is generated based on the elements included in the respective partition that include a first ground truth value.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one performance metric includes at least one of: a true positive value, a false positive value, a false negative value, a true negative value, a true positive rate (or a “recall”), a false positive rate, a precision value, specificity value, F1 score, an accuracy value, a PR curve, and an ROC curve.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein a number of merged quantile sketches is dependent on a number of unique ground truth values included in the dataset.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein merging each respective first quantile sketch further comprises:
performing a union operation using each respective first quantile sketch.

### Claim 8

A non-transitory computer-readable storage medium storing a plurality of instructions executable by one or more processors of a system to determine at least one performance metric of a machine learning model, the plurality of instructions cause, when executed by the one or more processors of the system, the one or more processors to perform operations comprising:
obtaining a dataset generated by at least using output of the machine learning model;
partitioning the dataset into two or more partitions that include one or more elements from the dataset;
generating, for each respective partition, a respective first quantile sketch and a respective second quantile sketch based at least in part on each element in the respective partition;
generating a first merged quantile sketch by merging each respective first quantile sketch;
generating a second merged quantile sketch by merging each respective second quantile sketch; and
determining the at least one performance metric of the machine learning model using the first merged quantile sketch and the second merged quantile sketch.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the dataset includes a prediction score value from the output of the machine learning model and a ground truth value.

### Claim 10 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the partitioning occurs based on at least one of: a size of the dataset, available resources, location of the available resources, and network activity.

### Claim 11 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the respective first quantile sketch is generated based on the elements included in the respective partition that include a first ground truth value.

### Claim 12 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the at least one performance metric includes at least one of: a true positive value, a false positive value, a false negative value, a true negative value, a true positive rate (or a “recall”), a false positive rate, a precision value, specificity value, F1 score, an accuracy value, a PR curve, and an ROC curve.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein a number of merged quantile sketches is dependent on a number of unique ground truth values included in the dataset.

### Claim 14 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein merging each respective first quantile sketch further comprises:
performing a union operation using each respective first quantile sketch.

### Claim 15

A system for determining at least one performance metric of a machine learning model, comprising:
one or more data processors; and
a computer-readable storage medium comprising instructions that, when executed on the one or more data processors, cause the one or more data processors to perform operations comprising:
obtaining a dataset generated by at least using output of the machine learning model;
partitioning the dataset into two or more partitions that include one or more elements from the dataset;
generating, for each respective partition, a respective first quantile sketch and a respective second quantile sketch based at least in part on each element in the respective partition;
generating a first merged quantile sketch by merging each respective first quantile sketch;
generating a second merged quantile sketch by merging each respective second quantile sketch; and
determining the at least one performance metric of the machine learning model using the first merged quantile sketch and the second merged quantile sketch.

### Claim 16 (depends on 15)

The system of claim 15, wherein the dataset includes a prediction score value from the output of the machine learning model and a ground truth value.

### Claim 17 (depends on 15)

The system of claim 15, wherein the partitioning occurs based on at least one of: a size of the dataset, available resources, location of the available resources, and network activity.

### Claim 18 (depends on 15)

The system of claim 15, wherein the respective first quantile sketch is generated based on the elements included in the respective partition that include a first ground truth value.

### Claim 19 (depends on 15)

The system of claim 15, wherein the at least one performance metric includes at least one of: a true positive value, a false positive value, a false negative value, a true negative value, a true positive rate (or a “recall”), a false positive rate, a precision value, specificity value, F1 score, an accuracy value, a PR curve, and an ROC curve.

### Claim 20 (depends on 15)

The system of claim 15, wherein a number of merged quantile sketches is dependent on a number of unique ground truth values included in the dataset.
