ITimeSeriesDecomposition<T>

Interfaces · AiDotNet.Interfaces

Defines methods and properties for decomposing time series data into its component parts.

Known implementations: TimeSeriesDecompositionBase<T>

How It Works

Time series decomposition breaks down a sequence of data points into underlying patterns such as trend, seasonality, and residual components.

For Beginners: Time series decomposition is like taking apart a complex signal (like sales data over time) into simpler pieces that are easier to understand. Imagine your store’s sales throughout the year - decomposition helps you separate:

  • The overall growth trend (are sales generally increasing?)
  • Seasonal patterns (higher sales during holidays?)
  • Day-to-day random variations

This makes it easier to understand what’s really happening in your data and make better predictions.

Properties

Property Summary
Vector<T> TimeSeries { get; } Gets the original time series data that was decomposed.

Methods

Method Summary
Dictionary<DecompositionComponentType, object> GetComponents() Gets all available decomposition components as a dictionary.
bool HasComponent(DecompositionComponentType componentType) Checks if a specific decomposition component is available.
object GetComponent(DecompositionComponentType componentType) Gets a specific component of the time series decomposition.