# US 2023/0267520 A1 · Systems and methods for automatically predicting future events

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

- Number: US 2023/0267520 A1
- Document ID: US20230267520A1
- Status: Published application
- Kind: A1
- Application number: 17/675,524
- Filed: 2022-02-18
- Published: 2023-08-24
- Earliest claimed: 2022-02-18
- Assignees: Morgan Stanley Services Group Inc.
- Applicants: Morgan Stanley Services Group Inc.
- Inventors: Joseph SCHIAVONE; Samuel VACCARO; Alexander LYUDIN
- Web page: https://patentgrep.com/patent/US20230267520A1

## CPC

- G06Q 30/06: Buying, selling or leasing transactions
- G06Q 30/0201: Market modelling; Market analysis; Collecting market data
- G06Q 30/0202: Market predictions or forecasting for commercial activities
- G06Q 40/00: Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

System and methods for determining predicting future events based on prior occurrences are provided. The systems and method can include a grouping a timeseries data set of prior occurrences that can have plurality of fields by a time and date field, and other fields. A set of factors can be determined based on the occurrences, and the set of factors can be used to predict future events.

## Claims

### Claim 1

A method for determining in real-time predicting future events for a particular user based on prior occurrences of the particular user, the method comprising:
receiving, by a computing device, in real-time a timeseries data set of prior occurrences for the particular user, each prior occurrence having a plurality of fields including a time field, a date field or both;
grouping, by the computing device, in real-time all prior occurrences of the particular user by the time field or the date field;
grouping, by the computing device, in real-time all prior occurrences of the particular user by a first field of the plurality of fields;
determining, by the computing device, in real-time a span between each prior occurrence of all prior occurrences of the user and the most recent prior incidence of the occurrence having the same field of the plurality fields by tagging all of the prior occurrences of the particular user with a date, time or both that is the most recent prior incidence of an occurrence having the same field of the plurality of fields;
determining, by the computing device, in real-time for each same field of the plurality of fields, a set of factors, wherein the set of factors is at least based on a number of the plurality of fields that has the same field and the respective span;
determining, by the computing device, in real-time one or more desired predicted future events for the particular user, the one or more desired predicted future events based on the set of factors; and
outputting, by the computing device, in real-time the one or more desired predicted future events for the particular user to a display.

### Claim 2 (depends on 1)

The method of claim 1 wherein the first field of the plurality of fields includes one or more fields that the prior occurrences are grouped by, one or more fields that are the same as the future event that are desired to predict, or any combination thereof.

### Claim 3 (depends on 1)

The method of claim 1 wherein the plurality of fields comprises a date, an amount, a category, or any combination thereof.

### Claim 4 (depends on 1)

The method of claim 1 wherein the prior occurrences are prior transactions and further comprising summing, by the computing device, an amount for each group of prior transactions on a single date to create a group of single date transactions that includes one transaction per date and one amount per date.

### Claim 5 (depends on 1)

The method of claim 1 wherein the set of factors is further based on occurrence type, transaction type, event type, or any combination thereof.

### Claim 6 (depends on 1)

The method of claim 1 wherein the plurality of fields includes a merchant.

### Claim 7 (depends on 6)

The method of claim 6 wherein the prior occurrences are prior transactions and wherein the set of factors includes a number of transactions, an average of all transactions for the merchant, a variance for all transactions of the merchant, an average day span between transactions for the merchant, a variance for the average day span between transactions, a day of a week the transactions occurred, a variance in the day of the week the transaction occurred, a day of a month the transactions occurred, and a variance in the day of the week the transaction occurred, or any combination thereof.

### Claim 8 (depends on 1)

The method of claim 1 wherein the desired projected future events include a projected repeat transaction amount, a transaction interval, or any combination thereof.

### Claim 9 (depends on 8)

The method of claim 8 wherein a transaction interval further comprises a particular day of the week or month projected for the transactions to occur.

### Claim 10

A method for determining predicting future events based on prior transactions, the method comprising:
receiving, by a computing device, a timeseries data set of prior transactions, each prior transaction having a date, an amount, a category, a merchant, or any combination thereof;
grouping, by the computing device, all prior transactions having the same date;
tagging, by the computing device, all of the prior transactions with a date that is the most recent prior incidence of a transaction having a same merchant;
determining, by the computing device, for each merchant, a set of factors based on the tagged prior transactions, wherein the set of factors includes a number of transactions, an average of all transactions for the merchant, a variance for all transactions of the merchant, an average day span between transactions for the merchant, a variance for the average day span between transactions, a day of a week the transactions occurred, a variance in the day of the week the transaction occurred, a day of a month the transactions occurred, and a variance in the day of the week the transaction occurred, or any combination thereof; and
determining, by the computing device, for each merchant a projected repeat transaction amount, a transaction interval, or any combination thereof based on the set of factors.

### Claim 11

(canceled)

### Claim 12

(canceled)

### Claim 13

A non-transitory computer program product comprising instructions which, when the program is executed cause the program to:
receive in real-time a timeseries data set of prior occurrences for the particular user, each prior occurrence having a plurality of fields including a time field, a date field or both;
group in real-time all prior occurrences of the particular user by the time field or the date field;
group in real-time all prior occurrences of the particular user by a first field of the plurality of fields;
determine in real-time a span between each prior occurrence of all prior occurrences of the user and the most recent prior incidence of the occurrence having the same field of the plurality fields by tagging, all of the prior occurrences of the particular user with a date, time or both that is the most recent prior incidence of an occurrence having the same field of the plurality of fields;
determine in real-time for each same field of the plurality of fields, a set of factors, wherein the set of factors is at least based on a number of the plurality of fields that has the same field and the respective span;
determine in real-time one or more desired predicted future events for the particular user, the one or more desired predicted future events based on the set of factors; and
output in real-time the one or more desired predicted future events for the particular user to a display.

### Claim 14 (depends on 13)

The non-transitory computer program product of claim 13 wherein the first field of the plurality of fields includes one or more fields that the prior occurrences are grouped by, one or more fields that are the same as the future event that are desired to predict, or any combination thereof.

### Claim 15 (depends on 13)

The non-transitory computer program product of claim 13 wherein the plurality of fields comprises a date, an amount, a category, or any combination thereof.

### Claim 16 (depends on 13)

The non-transitory computer program product of claim 13 wherein the prior occurrences are prior transactions and further comprising summing, by the computing device, an amount for each group of prior transactions on a single date to create a group of single date transactions that includes one transaction per date and one amount per date.

### Claim 17 (depends on 13)

The non-transitory computer program product of claim 13 wherein the set of factors is further based on occurrence type, transaction type, event type, or any combination thereof.

### Claim 18 (depends on 13)

The non-transitory computer program product of claim 13 wherein the plurality of fields includes a merchant.

### Claim 19 (depends on 13)

The non-transitory computer program product of claim 13 wherein the prior occurrences are prior transactions and wherein the set of factors includes a number of transactions, an average of all transactions for the merchant, a variance for all transactions of the merchant, an average day span between transactions for the merchant, a variance for the average day span between transactions, a day of a week the transactions occurred, a variance in the day of the week the transaction occurred, a day of a month the transactions occurred, and a variance in the day of the week the transaction occurred, or any combination thereof.

### Claim 20 (depends on 13)

The non-transitory computer program product of claim 13 wherein the desired projected future events include a projected repeat transaction amount, a transaction interval, or any combination thereof.

### Claim 21 (depends on 13)

The non-transitory computer program product of claim 13 wherein a transaction interval further comprises a particular day of the week or month projected for the transactions to occur.

### Claim 22 (depends on 1)

The method of claim 1 wherein the predicted future event is a projected repeat transaction interval, the prior occurrences are prior transactions, and the set of factors includes a variation for day spans, and further comprising determining the projected repeated transaction interval by:
filtering groups of prior occurrences grouped by the same field if there are less then a predefined threshold of occurrences in the group;
filtering groups of prior occurrences grouped by the same field having a coefficients of variation of spans greater then a predefined threshold; and
determining the projected repeat transaction interval for each non-filtered group of prior occurrences grouped by the same field by averaging the spans within the group and setting the projected repeat transaction interval to the average.

### Claim 23 (depends on 1)

The method of claim 1 further comprising determining for each same field of the plurality of fields, that a recurring occurrence is inactive by determining whether a number of days since a prior occurrence is above a predetermined group threshold.
