# US 2026/0087380 A1 · Building a dataset having requisite number of fraud samples to train a multi-class machine learning model for fraud detection

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

- Number: US 2026/0087380 A1
- Document ID: US20260087380A1
- Status: Published application
- Kind: A1
- Application number: 18/897,008
- Filed: 2024-09-26
- Published: 2026-03-26
- Earliest claimed: 2024-09-26
- Assignees: Oracle Financial Services Software Limited
- Applicants: Oracle Financial Services Software Limited
- Inventors: Mridul Kumar Nath
- Web page: https://patentgrep.com/patent/US20260087380A1

## CPC

- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N 20/20: Ensemble learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

According to an aspect, a system receives a historical data and identifies a set of transactions tagged as fraud (“fraud transactions”) in the received data. If a count of fraud transactions is below a threshold, the system forms a training data and a test data from the historical data, with the test data including all the fraud transactions. The system generates, based on the training data, a one-class anomaly detection model that is able to flag all the fraud transactions when the test data is provided as input to the model. The system applies the model to an inference data to identify whether each transaction therein is an anomaly or not. Upon receiving an input data indicating whether each anomaly is a fraud transaction or not, the system updates the historical data by adding the transactions and tagging the fraud transactions. The updated historical data is used for training a multi-class ML model after the count of fraud transactions is greater than or equal to the threshold.

## Claims

### Claim 1

A computer implemented method comprising:
receiving a first historical data at a first time instance;
identifying a first set of transactions tagged as fraud in said first historical data;
if a count of said first set of transactions is below a threshold:
forming a training data and a test data from said historical data, wherein said test data includes said first set of transactions tagged as fraud;
generating, based on said training data, a first one-class machine learning (ML) model that is able to predict said first set of transactions when said test data is provided as input to said first one-class ML model;
applying said first one-class ML model to a set of transactions of an inference data to identify whether each transaction is an anomaly or not;
receiving an input data indicating whether each transaction identified as said anomaly is a fraud transaction or not; and
updating said first historical data by adding said set of transactions and tagging each fraud transaction as being fraud to form an updated historical data,
wherein said updated historical data is used for training a multi-class ML model after said count of said first set of transactions is greater than or equal to said threshold.

### Claim 2 (depends on 1)

The method of claim 1, wherein said identifying, said forming, said generating, said applying, said receiving said input data and said updating is performed with said updated historical data iteratively until said count of said first set of transactions is greater than or equal to said threshold,
said method further comprising employing said multi-class ML model for fraud detection after said training said multi-class ML model.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a second historical data before said first time instance;
wherein if said second historical data contains no transactions tagged as fraud:
training, based on said second historical data, a second one-class machine learning (ML) model;
applying said second one-class ML model to a second set of transactions of a second inference data to identify whether each transaction is an anomaly or not;
receiving a second input data indicating whether each transaction identified as said anomaly is a fraud transaction or not; and
updating said second historical data by adding said second set of transactions and tagging each fraud transaction as being fraud.

### Claim 4 (depends on 1)

The method of claim 1, wherein said generating comprises:
training, based on said training data, a new one-class ML model;
applying said new one-class ML model to said test data, wherein said applying comprises providing said test data as input to said new one-class ML model and receiving as output a third set of transactions predicted as being anomalous by said new one-class ML model;
if said third set of transactions includes all of said first set of transactions:
selecting said new one-class ML model as said first one-class ML model; otherwise:
determining new values for one or more parameters provided as inputs for said training of said new one-class model; and
repeating said training and said applying with said one or more parameters set to said new values.

### Claim 5 (depends on 5)

The method of claim 5, wherein said new one-class ML model is based on SVM (Support Vector Machine), wherein said one or more parameters comprises an outlier rate.

### Claim 6 (depends on 1)

The method of claim 1, wherein said forming comprises:
splitting said first historical data into said training data and said test data according to a ratio;
determining one or more transactions tagged as fraud in said training data; and
transferring said one or more transactions from said training data to said test data such that said training data is devoid of transactions tagged as fraud and said test data includes all transactions tagged as fraud.

### Claim 7 (depends on 6)

The method of claim 6, wherein said receiving receives at said first time instance a third historical data and a training window,
said method further comprising filtering the transactions contained in said third historical data based on said training window to obtain said first historical data.

### Claim 8 (depends on 7)

The method of claim 7, wherein said receiving said input data comprises:
sending for display, each transaction identified as said anomaly; and
receiving, from one or more users, said input data indicating whether each of said set of transactions is said fraud transaction or not.

### Claim 9

A non-transitory machine-readable medium storing one or more sequences of instructions for aiding fraud detection, wherein execution of said one or more instructions by one or more processors contained in a digital processing system causes said digital processing system to perform the actions of:
receiving a first historical data at a first time instance;
identifying a first set of transactions tagged as fraud in said first historical data;
if a count of said first set of transactions is below a threshold:
forming a training data and a test data from said historical data, wherein said test data includes said first set of transactions tagged as fraud;
generating, based on said training data, a first one-class machine learning (ML) model that is able to predict said first set of transactions when said test data is provided as input to said first one-class ML model;
applying said first one-class ML model to a set of transactions of an inference data to identify whether each transaction is an anomaly or not;
receiving an input data indicating whether each transaction identified as said anomaly is a fraud transaction or not; and
updating said first historical data by adding said set of transactions and
tagging each fraud transaction as being fraud to form an updated historical data, wherein said updated historical data is used for training a multi-class ML model after said count of said first set of transactions is greater than or equal to said threshold.

### Claim 10 (depends on 9)

The non-transitory machine-readable medium of claim 9, wherein said identifying, said forming, said generating, said applying, said receiving said input data and said updating is performed with said updated historical data iteratively until said count of said first set of transactions is greater than or equal to said threshold,
further comprising one or more instructions for employing said multi-class ML model for fraud detection after said training said multi-class ML model.

### Claim 11 (depends on 9)

The non-transitory machine-readable medium of claim 9, further comprising one or more instructions for:
receiving a second historical data before said first time instance;
wherein if said second historical data contains no transactions tagged as fraud:
training, based on said second historical data, a second one-class machine learning (ML) model;
applying said second one-class ML model to a second set of transactions of a second inference data to identify whether each transaction is an anomaly or not;
receiving a second input data indicating whether each transaction identified as said anomaly is a fraud transaction or not; and
updating said second historical data by adding said second set of transactions and tagging each fraud transaction as being fraud.

### Claim 12 (depends on 9)

The non-transitory machine-readable medium of claim 9, wherein said generating comprises one or more instructions for:
training, based on said training data, a new one-class ML model;
applying said new one-class ML model to said test data, wherein said applying comprises providing said test data as input to said new one-class ML model and receiving as output a third set of transactions predicted as being anomalous by said new one-class ML model;
if said third set of transactions includes all of said first set of transactions:
selecting said new one-class ML model as said first one-class ML model; otherwise:
determining new values for one or more parameters provided as inputs for said training of said new one-class model; and
repeating said training and said applying with said one or more parameters set to said new values.

### Claim 13 (depends on 9)

The non-transitory machine-readable medium of claim 9, wherein said forming comprises one or more instructions for:
splitting said first historical data into said training data and said test data according to a determining one or more transactions tagged as fraud in said training data; and
ratio;
transferring said one or more transactions from said training data to said test data such that said training data is devoid of transactions tagged as fraud and said test data includes all transactions tagged as fraud.

### Claim 14 (depends on 13)

The non-transitory machine-readable medium of claim 13, wherein said receiving receives at said first time instance a third historical data and a training window,
further comprising one or more instructions for filtering the transactions contained in said third historical data based on said training window to obtain said first historical data.

### Claim 15

A digital processing system comprising:
a random access memory (RAM) to store instructions for aiding fraud detection; and
one or more processors to retrieve and execute the instructions, wherein execution of the instructions causes the digital processing system to perform the actions of:
receiving a first historical data at a first time instance;
identifying a first set of transactions tagged as fraud in said first historical data;
if a count of said first set of transactions is below a threshold:
forming a training data and a test data from said historical data, wherein said test data includes said first set of transactions tagged as fraud;
generating, based on said training data, a first one-class machine learning (ML) model that is able to predict said first set of transactions when said test data is provided as input to said first one-class ML model;
applying said first one-class ML model to a set of transactions of an inference data to identify whether each transaction is an anomaly or not;
receiving an input data indicating whether each transaction identified as said anomaly is a fraud transaction or not; and
updating said first historical data by adding said set of transactions and tagging each fraud transaction as being fraud to form an updated historical data,
wherein said updated historical data is used for training a multi-class ML model after said count of said first set of transactions is greater than or equal to said threshold.

### Claim 16 (depends on 15)

The digital processing system of claim 15, wherein said digital processing system performs the actions of said identifying, said forming, said generating, said applying, said receiving said input data and said updating with said updated historical data iteratively until said count of said first set of transactions is greater than or equal to said threshold,
said digital processing system further performing the actions of employing said multi-class ML model for fraud detection after said training said multi-class ML model.

### Claim 17 (depends on 15)

The digital processing system of claim 15, further performing the actions of:
receiving a second historical data before said first time instance;
wherein if said second historical data contains no transactions tagged as fraud:
training, based on said second historical data, a second one-class machine learning (ML) model;
applying said second one-class ML model to a second set of transactions of a second inference data to identify whether each transaction is an anomaly or not;
receiving a second input data indicating whether each transaction identified as said anomaly is a fraud transaction or not; and
updating said second historical data by adding said second set of transactions and tagging each fraud transaction as being fraud.

### Claim 18 (depends on 15)

The digital processing system of claim 15, wherein for said generating, said digital processing system performs the actions of:
training, based on said training data, a new one-class ML model;
applying said new one-class ML model to said test data, wherein said applying comprises providing said test data as input to said new one-class ML model and receiving as output a third set of transactions predicted as being anomalous by said new one-class ML model;
if said third set of transactions includes all of said first set of transactions:
selecting said new one-class ML model as said first one-class ML model; otherwise:
determining new values for one or more parameters provided as inputs for said training of said new one-class model; and
repeating said training and said applying with said one or more parameters set to said new values.

### Claim 19 (depends on 15)

The digital processing system of claim 15, wherein for said forming, said digital processing system performs the actions of:
splitting said first historical data into said training data and said test data according to a ratio;
determining one or more transactions tagged as fraud in said training data; and
transferring said one or more transactions from said training data to said test data such that said training data is devoid of transactions tagged as fraud and said test data includes all transactions tagged as fraud.

### Claim 20 (depends on 19)

The digital processing system of claim 19, wherein said digital processing system receives at said first time instance a third historical data and a training window,
said digital processing system further performing the actions of filtering the transactions contained in said third historical data based on said training window to obtain said first historical data.
