Class M4TimeSeries<T>
- Namespace
- AiDotNet.Data.TimeSeries
- Assembly
- AiDotNet.dll
Represents a single time series from the M4 Competition.
public class M4TimeSeries<T>
Type Parameters
TThe numeric type used for values.
- Inheritance
-
M4TimeSeries<T>
- Inherited Members
Constructors
M4TimeSeries(string, IReadOnlyList<T>, M4Frequency)
Initializes a new instance of the M4TimeSeries<T> class.
public M4TimeSeries(string seriesId, IReadOnlyList<T> values, M4Frequency frequency)
Parameters
seriesIdstringvaluesIReadOnlyList<T>frequencyM4Frequency
Properties
Frequency
Gets the frequency of this time series.
public M4Frequency Frequency { get; }
Property Value
Length
Gets the length of the time series.
public int Length { get; }
Property Value
SeriesId
Gets the unique identifier for this series (e.g., "Y1", "M1234", "H414").
public string SeriesId { get; }
Property Value
Values
Gets the time series values.
public IReadOnlyList<T> Values { get; }