Glossary#

This page lists some common terms used in documentation of the library.

Time series#

A series of variable measurements obtained at successive times according to frequency.

Timestamps#

Times at which measurements are taken for time series.

Regular timestamps#

Timestamps that are spaced regularly, for example every hour. It doesn’t have to be always the same number of seconds. For example, taking the first day of each month gives regular timestamps.

Irregular timestamps#

Timestamps that aren’t spaced regularly, for example it can be times at which our backend server receives a request.

Time series frequency#

Quantity that determines the size of spaces between regular timestamps. Examples of frequencies: hourly, daily, monthly.

Univariate time series#

A single time series containing measurements of a scalar variable.

Multivariate time series#

A single time series containing measurements of a multidimensional variable.

Panel time series#

Multiple time series. It is closely related to multivariate time series, but the second term is usually used when the components are closely related, and it is more useful to treat them as a single multidimensional value.

Hierarchical time series#

Multiple time series having a level structure in which higher levels can be disaggregated by different attributes of interest into series of lower levels. See Hierarchical time series.

Aligned time series#

Set of time series that have the same time series frequency and end with the same timestamps.

Misaligned time series#

Set of time series that have the same time series frequency, but end with different timestamps. These times series can be shifted in time to become aligned.

Segment#

We use this term to refer to one time series in a dataset.

Endogenous data#

Variables which measurements we want to model. It is often referred to as the “target”.

Exogenous data#

Additional variables in a dataset that help to model target.

Regressor#

Exogenous variable whose values are known in the future during forecasting.

Stationarity#

Property of a time series to retain its statistical properties over time.

Seasonality#

Property of time series to have a seasonal pattern of some fixed length. For example, weekly pattern for daily time series.

Trend#

Property of time series to have a long-term change of the mean value.

Change-point#

Point in a time series where its behavior changes. Its existence is the reason why you shouldn’t trust your long-term forecasts too much.

Forecasting#

The task of predicting future values of a time series. We are only interested in forecasting target variables.

Forecasting horizon#

Set of time points we are going to forecast. Often it is set to a fixed value. For example, horizon is equal to 7 if we want to make a forecast on 7 time points ahead for daily time series.

Forecast confidence intervals#

Confidence intervals for the \(\mathop{E}(y | X)\). Set of intervals for every point in the horizon can be called a confidence band. Often confused with prediction intervals, see The difference between prediction intervals and confidence intervals to understand the difference.

Forecast prediction intervals#

Prediction intervals for predicted random variables. Set of intervals for every point in the horizon can be called a prediction band. Often confused with confidence intervals, see The difference between prediction intervals and confidence intervals to understand the difference.

Forecast prediction components#

In forecast decomposition each point is represented as the sum or product of some fixed terms. These terms are called components. We are currently working only with additive components.

Backtesting#

Type of cross-validation when we check the quality of the forecast model using historical data.

Per-segment / Local approach#

Mode of operation when there is a separate model / transform for each segment of the dataset.

Multi-segment / Global approach#

Mode of operation when there is one model / transform for every segment of the dataset.

Forecasting strategy#

Algorithm for using an ML model to produce a multi-step time series forecast. See Forecasting strategies.

Forecasting context#

Suffix of a dataset we want to forecast that is necessary for the model we are using. Can be also be referred to as the “model context”.

Clustering#

The task of finding clusters of similar time series.

Classification#

The task of predicting a categorical label for the whole time series.

Segmentation#

The task of dividing each time series into sequence of intervals with different characteristics. These intervals are separated by change-points. This shouldn’t be confused with the term segment.

Dataset#

Collection of time series to work with. In the context of the library this is often used to refer to TSDataset.

Model#

Entity for learning time series patterns to make a forecast. See Models.

Transform#

Entity for performing transformations on a dataset. See Transforms.

Pipeline#

High-level entity for solving forecasting task. Works with dataset, model, transforms and other pipelines.

Lags#

The features generated by LagTransform.

Date flags#

The features generated by DateFlagsTransform.

Fourier terms#

The features generated by FourierTransform.

Differencing#

Time series transformation that takes the differences between consecutive time points. There is also a seasonal differencing with period \(p\), where we take the difference between the current point and its lag of order \(p\). See DifferencingTransform.