AutocorrelationSelector<T>

Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.TimeSeries

Autocorrelation-based feature selection for time series data.

Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ†’ AutocorrelationSelector<T>

Implements: IFixedCountFeatureSelector<T>

For Beginners

Autocorrelation measures how much a value at one time relates to values at other times. Features with strong autocorrelation have predictable patterns over time.

How It Works

Selects features based on their autocorrelation properties. Features with significant autocorrelation contain temporal patterns useful for prediction.

Constructors

Constructor Summary
AutocorrelationSelector(int nFeaturesToSelect, int maxLag, double significanceThreshold, int[] columnIndices)

Properties

Property Summary
Vector<T> AutocorrelationScores { get; }
bool SupportsInverseTransform { get; }
int NFeaturesToSelect { get; }
int[] SelectedIndices { get; }

Methods

Method Summary
Matrix<T> FitTransform(Matrix<T> data)
bool[] GetSupportMask()
string[] GetFeatureNamesOut(string[] inputFeatureNames)