# US 2025/0165822 A1 · Systems and methods for pre-selecting a machine learning model based on determined dataset characteristics

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

- Number: US 2025/0165822 A1
- Document ID: US20250165822A1
- Status: Published application
- Kind: A1
- Application number: 18/516,555
- Filed: 2023-11-21
- Published: 2025-05-22
- Earliest claimed: 2023-11-21
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Vannia GONZALEZ MACIAS; Justin ESSERT; Pratik GANDHI
- Web page: https://patentgrep.com/patent/US20250165822A1

## CPC

- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Pre-selecting a machine learning model based on determined dataset characteristics may be facilitated. In some embodiments, a time-series dataset may be received by a system. Based on the time-series dataset, the system generates a periodogram to determine power frequencies of a set of frequencies of the time-series dataset. The system may then determine an asymptotic p-value based on the periodogram, where the asymptotic p-value indicates a probability value that a seasonal cycle is part of the time-series dataset. In response to a comparison between the asymptotic p-value and a threshold p-value indicating that the asymptotic p-value fails to exceed the threshold p-value, the system determines a seasonality cycle of the time-series dataset. The system then generates, for display, on a user interface, a recommendation for a machine learning model based on (i) the seasonality cycle of the time-series dataset and (ii) the power frequencies.

## Claims

### Claim 1

A system for pre-selecting a machine learning model based on determined dataset characteristics, the system comprising:
one or more processors executing computer program instructions that, when executed, cause operations comprising:
receiving a time-series dataset, the time-series dataset comprising a set of data points having a relationship between (i) a set of timestamps and (ii) a value associated with a variable;
generating a periodogram based on the time-series dataset to determine power frequencies of a set of frequencies of the time-series dataset, wherein the periodogram is a frequency domain representation of the time-series dataset;
determining an asymptotic p-value of the periodogram based on the power frequencies, wherein the asymptotic p-value of the periodogram indicates a probability value that a seasonal cycle is part of the time-series dataset;
in response to a comparison between the asymptotic p-value and a user-selected threshold p-value indicating that the asymptotic p-value fails to exceed the user-selected threshold value, determining a seasonality cycle of the time-series dataset;
in response to determining the seasonality cycle of the time-series dataset, determining a period associated with the seasonality cycle based on the power frequencies of the time-series dataset; and
generating, for display, on a user interface, a recommendation for a machine learning model of a set of machine learning models based on (i) the seasonality cycle of the time-series dataset, (ii) the power frequencies of the set of frequencies of the time-series dataset, and (iii) the period associated with the seasonality cycle.

### Claim 2

A method for pre-selecting a machine learning model based on determined dataset characteristics, the method comprising:
receiving a time-series dataset, the time-series dataset comprising a set of data points having a relationship between (i) a set of timestamps and (ii) a value associated with a variable;
generating a periodogram based on the time-series dataset to determine power frequencies of a set of frequencies of the time-series dataset, wherein the periodogram is a frequency domain representation of the time-series dataset;
determining an asymptotic p-value based on the periodogram, wherein the asymptotic p-value of the periodogram indicates a probability value that a seasonal cycle is part of the time-series dataset;
in response to a comparison between the asymptotic p-value and a threshold p-value indicating that the asymptotic p-value exceeds the threshold p-value, determining a seasonality cycle of the time-series dataset, wherein the comparison indicates that the asymptotic p-value fails to exceed the threshold p-value; and
generating, for display, on a user interface, a recommendation for a machine learning model based on (i) the seasonality cycle of the time-series dataset and (ii) the power frequencies of the set of frequencies of the time-series dataset.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the recommendation for the machine learning model further comprises:
in response to determining the seasonality cycle of the time-series dataset, determining a period associated with the seasonality cycle based on the power frequencies of the time-series dataset, wherein the seasonality cycle of the time-series dataset is determined; and
generating the recommendation for the machine learning model further based on the period associated with the seasonality cycle of the time-series dataset.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
identifying, based on the power frequencies of the set of frequencies of the time-series dataset, a subset of power frequencies of the power frequencies, wherein each power frequency of the subset of power frequencies is associated with a power value that is greater than a threshold power value;
determining a set of periods associated with the time-series dataset, wherein each period of the set of periods is associated with (i) a respective power frequency of the subset of power frequencies and (ii) a power value associated with the respective power frequency of the subset of power frequencies; and
determining the period associated with the seasonality cycle by selecting a first period from the set of periods that is associated with a first power value that is greater than that of other power values associated with the set of periods.

### Claim 5 (depends on 3)

The method of claim 3, wherein determining the period associated with the seasonality cycle based on the power frequencies of the time-series dataset comprises applying an autocorrelation function to the time-series dataset.

### Claim 6 (depends on 5)

The method of claim 5, wherein determining the period associated with the seasonality cycle based on the power frequencies of the time-series dataset further comprises selecting a period from a set of periods resulting from the application of the autocorrelation function that is associated with a first autocorrelation value that is greater than second autocorrelation values associated with other periods from the set of periods resulting from the application of the autocorrelation function.

### Claim 7 (depends on 2)

The method of claim 2, wherein generating the periodogram further comprises:
receiving a user selection of a constant trend model; and
generating the periodogram using the constant trend model.

### Claim 8 (depends on 2)

The method of claim 2, wherein generating the periodogram further comprises:
receiving a user selection of a linear trend model; and
generating the periodogram using the linear trend model.

### Claim 9 (depends on 2)

The method of claim 2, further comprising:
determining, for each power frequency of the set of frequencies, whether a power value associated with a respective power frequency is greater than half of a length associated with the time-series dataset; and
updating the time-series dataset by removing each power frequency that has a power value that is greater than half of the length associated with the time-series dataset.

### Claim 10 (depends on 2)

The method of claim 2, wherein determining the asymptotic p-value based on the periodogram further comprises:
receiving a user selection of a spectral decomposition technique using orthonormal functions; and
applying the spectral decomposition technique using orthonormal functions to the generated periodogram.

### Claim 11 (depends on 2)

The method of claim 2, wherein generating the periodogram further comprises:
receiving a user selection of Welch periodogram parameters associated with the time-series dataset; and
generating the periodogram using the Welch periodogram parameters, wherein the generated periodogram is a Welch periodogram based on the time-series dataset.

### Claim 12 (depends on 2)

The method of claim 2, wherein the threshold p-value is a user-selected threshold p-value.

### Claim 13 (depends on 2)

The method of claim 2, wherein generating the recommendation for the machine learning model further comprises:
determining a set of machine learning models configured to receive the time-series dataset using the seasonality cycle of the time-series dataset;
selecting, from the set of machine learning models, a first machine learning model, wherein the first machine learning model corresponds to a period associated with the seasonality cycle of the time-series dataset based on the power frequencies of the set of frequencies of the time-series dataset; and
generating the recommendation for the machine learning model using the selected first machine learning model.

### Claim 14 (depends on 2)

The method of claim 2, wherein generating the recommendation for the machine learning model further comprises:
determining a type of seasonality of the time-series dataset based on an optimal residual analysis technique of the time-series dataset, wherein the type of seasonality is a multiplicative type or an additive type;
determining a set of machine learning models configured to receive the time-series dataset using (i) the seasonality cycle of the time-series dataset and (ii) the type of seasonality of the time-series dataset;
selecting, from the set of machine learning models, a first machine learning model, wherein the first machine learning model corresponds to (i) a period associated with the seasonality cycle of the time-series dataset based on the power frequencies of the set of frequencies of the time-series dataset and (ii) the type of seasonality of the time-series dataset; and
generating the recommendation for the machine learning model using the selected first machine learning model.

### Claim 15

One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause operations comprising:
generating a periodogram based on a time-series dataset to determine power frequencies of a set of frequencies of the time-series dataset;
determining an asymptotic p-value based on the periodogram, wherein the asymptotic p-value of the periodogram indicates a probability value that a seasonal cycle is part of the time-series dataset;
in response to a comparison between the asymptotic p-value and a threshold p-value indicating that the asymptotic p-value fails to exceed the threshold p-value, determining a seasonality cycle of the time-series dataset; and
generating, for display, on a user interface, a recommendation for a machine learning model based on (i) the seasonality cycle of the time-series dataset and (ii) the power frequencies of the set of frequencies of the time-series dataset.

### Claim 16 (depends on 15)

The media of claim 15, wherein generating the recommendation for the machine learning model further comprises:
in response to determining the seasonality cycle of the time-series dataset, determining a period associated with the seasonality cycle based on the power frequencies of the time-series dataset; and
generating the recommendation for the machine learning model further based on the period associated with the seasonality cycle of the time-series dataset.

### Claim 17 (depends on 16)

The media of claim 16, the instructions further causing operations comprising:
identifying, based on the power frequencies of the set of frequencies of the time-series dataset, a subset of power frequencies of the power frequencies, wherein each power frequency of the subset of power frequencies is associated with a power value that is greater than a threshold power value;
determining a set of periods associated with the time-series dataset, wherein each period of the set of periods is associated with (i) a respective power frequency of the subset of power frequencies and (ii) a power value associated with the respective power frequency of the subset of power frequencies; and
determining the period associated with the seasonality cycle by selecting a first period from the set of periods that is associated with a first power value that is greater than that of other power values associated with the set of periods.

### Claim 18 (depends on 16)

The media of claim 16, wherein determining the period associated with the seasonality cycle based on the power frequencies of the time-series dataset comprises applying an autocorrelation function to the time-series dataset.

### Claim 19 (depends on 15)

The media of claim 15, wherein generating the recommendation for the machine learning model further comprises:
determining a set of machine learning models configured to receive the time-series dataset using the seasonality cycle of the time-series dataset;
selecting, from the set of machine learning models, a first machine learning model, wherein the first machine learning model corresponds to a period associated with the seasonality cycle of the time-series dataset based on the power frequencies of the set of frequencies of the time-series dataset; and
generating the recommendation for the machine learning model using the selected first machine learning model.

### Claim 20 (depends on 15)

The media of claim 15, wherein generating the recommendation for the machine learning model further comprises:
determining a type of seasonality of the time-series dataset based on an optimal residual analysis technique of the time-series dataset, wherein the type of seasonality is a multiplicative type or an additive type;
determining a set of machine learning models configured to receive the time-series dataset using (i) the seasonality cycle of the time-series dataset and (ii) the type of seasonality of the time-series dataset;
selecting, from the set of machine learning models, a first machine learning model, wherein the first machine learning model corresponds to (i) a period associated with the seasonality cycle of the time-series dataset based on the power frequencies of the set of frequencies of the time-series dataset and (ii) the type of seasonality of the time-series dataset; and
generating the recommendation for the machine learning model using the selected first machine learning model.
