# US 2021/0081492 A1 · Time-Series Analysis for Forecasting Computational Workloads

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

- Number: US 2021/0081492 A1
- Document ID: US20210081492A1
- Status: Published application
- Kind: A1
- Application number: 16/917,821
- Filed: 2020-06-30
- Published: 2021-03-18
- Earliest claimed: 2019-09-16
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Antony Stephen Higginson; Octavian Arsene; Mihaela Dediu; Thomas Elders
- Web page: https://patentgrep.com/patent/US20210081492A1

## CPC

- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N 20/00: Machine learning
- G06F 11/3442: {for planning or managing the needed capacity}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 2201/81: Threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques for time-series analysis for forecasting computational workloads are disclosed. A resource management system monitors a computing system and obtains metrics data from the computing system. The metrics data is stored as a set of historical data points of a data set. A first portion of the set of historical data points comprise an outlier that does not correspond to a seasonality pattern associated with a second portion of the set of historical data points. The resource management system tests a first time-series model that incorporates a first exogenous variable corresponding to a first exogeneous factor to determine that the first time-series model fits both the first portion of the set of historical data points and the second portion of the set of historical data points within an error threshold. Then, the resource management system selects the first time-series model to predict future data points of the data set.

## Claims

### Claim 1

One or more non-transitory machine-readable media storing instructions which, when executed by one or more processors, cause:
receiving a set of historical data points of a data set;
determining that a first portion of the set of historical data points comprise at least one outlier that does not correspond to at least one seasonality pattern associated with a second portion of the set of historical data points;
testing a first time-series model that incorporates a first exogenous variable corresponding to a first exogeneous factor to determine that the first time-series model fits both the first portion of the set of historical data points and the second portion of the set of historical data points within an error threshold; and
selecting the first time-series model to predict future data points of the data set.

### Claim 2 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the future data points predicted by the first time-series model do not incorporate any influence of the exogenous variable.

### Claim 3 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the future data points predicted by the first time-series model incorporate an influence of the exogenous variable by accepting as input a value for the exogenous variable.

### Claim 4 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the first time-series model incorporates an influence of the exogenous variable on future data points predicted by the first time-series model by reducing a weight given to the exogenous variable relative to first variables in the first time-series model representing the at least one seasonality pattern.

### Claim 5 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the operations further comprise:
testing a second time-series model that incorporates a second exogenous variable corresponding to a second exogeneous factor to determine that the second time-series model does not fit both the first portion of the set of historical data points and the second portion of the set of historical data point within the error threshold; and
refraining from selecting the second time-series model based on testing the second time-series model.

### Claim 6 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the operations further comprise:
determining a first score for the first time-series model based on a fit of the first time-series model to both the first portion of the set of historical data points and the second portion of the set of historical data points; and
determining a second score for a second time-series model based on a fit of the second time-series model to both the first portion of the set of historical data points and the second portion of the set of historical data points,
wherein the selecting operation is responsive to determining that the first time-series model is a better fit for the data set than the second time-series model based on the first score and the second score.

### Claim 7 (depends on 7)

The one or more non-transitory machine-readable media of claim 7, wherein the second time-series model does not include any exogenous variable.

### Claim 8 (depends on 7)

The one or more non-transitory machine-readable media of claim 7, wherein the second time-series model includes a second exogenous variable.

### Claim 9 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the operations further comprise:
determining whether the first time-series model is stale by determining:
whether the first time-series model is older than a threshold expiration value; or
whether the first time-series model has a root means square error (RMSE) that falls below 95%;
based on determining that the first time-series model is stale,
receiving a new set of historical data points of a second data set;
testing a second time-series model that incorporates a second exogenous variable corresponding to a second exogeneous factor; and
selecting the second time-series model to predict future data points of the second data set.

### Claim 10 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the operations further comprise:
determining whether the first time-series model is stale by determining:
whether the first time-series model is older than a threshold expiration value; or
whether the first time-series model has a root means square error (RMSE) that falls below 95%;
based on determining that the first time-series model is not stale,
receiving a new set of historical data points of a second data set; and
using the first time-series model to predict future data points of the second data set.

### Claim 11 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein testing a first time-series model comprises:
performing a Fourier transform on the first time-series model.

### Claim 12 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the first time-series model includes the exogenous variable and variables corresponding to the at least one seasonality pattern and to at least one multiple-seasonality pattern in the historical data.

### Claim 13 (depends on 1)

The one or more non-transitory machine-readable media of claim 1, wherein the data set is obtained from a workload of a computing system, and
the operations further comprise:
generating a recommendation for modifying the computing system based on the predicting the future data points.

### Claim 14

A method, comprising:
receiving a set of historical data points of a data set;
determining that a first portion of the set of historical data points comprise at least one outlier that does not correspond to at least one seasonality pattern associated with a second portion of the set of historical data points;
testing a first time-series model that incorporates a first exogenous variable corresponding to a first exogeneous factor to determine that the first time-series model fits both the first portion of the set of historical data points and the second portion of the set of historical data points within an error threshold; and
selecting the first time-series model to predict future data points of the data set.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the future data points predicted by the first time-series model do not incorporate any influence of the exogenous variable.

### Claim 16 (depends on 14)

The method according to claim 14, wherein the operations further comprise:
determining whether the first time-series model is stale by determining:
whether the first time-series model is older than a threshold expiration value; or
whether the first time-series model has a root means square error (RMSE) that falls below 95%;
based on determining that the first time-series model is stale,
receiving a new set of historical data points of a second data set;
testing a second time-series model that incorporates a second exogenous variable corresponding to a second exogeneous factor; and
selecting the second time-series model to predict future data points of the second data set.

### Claim 17 (depends on 14)

The method according to claim 14, wherein the operations further comprise:
determining whether the first time-series model is stale by determining:
whether the first time-series model is older than a threshold expiration value; or
whether the first time-series model has a root means square error (RMSE) that falls below 95%;
based on determining that the first time-series model is not stale,
receiving a new set of historical data points of a second data set; and
using the first time-series model to predict future data points of the second data set.

### Claim 18 (depends on 14)

The method according to claim 14, wherein testing a first time-series model comprises:
performing a Fourier transform on the first time-series model.

### Claim 19 (depends on 14)

The method according to claim 14, wherein the first time-series model includes the exogenous variable and variables corresponding to the at least one seasonality pattern and to at least one multiple-seasonality pattern in the historical data.

### Claim 20 (depends on 14)

The method according to claim 14, wherein the data set is obtained from a workload of a computing system, and
the operations further comprise:
generating a recommendation for modifying the computing system based on the predicting the future data points.

### Claim 21

An apparatus, comprising:
a monitoring module configured to monitor a system to obtain metrics data from the system, and to store the metrics data in a data repository as historical data;
a training module configured to
receive a set of historical data points of a data set;
determine that a first portion of the set of historical data points comprise at least one outlier that does not correspond to at least one seasonality pattern associated with a second portion of the set of historical data points;
test a first time-series model that incorporates a first exogenous variable corresponding to a first exogeneous factor to determine that the first time-series model fits both the first portion of the set of historical data points and the second portion of the set of historical data points within an error threshold; and
select the first time-series model to predict future data points of the data set.
