AutocorrelationSelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Temporal
Autocorrelation based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ AutocorrelationSelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
Autocorrelation measures how a signal relates to delayed versions of itself. Features with strong autocorrelation have patterns that repeat over time, which can be useful for prediction.
How It Works
Selects features based on their autocorrelation properties, identifying features with meaningful temporal patterns.
Constructors
| Constructor | Summary |
|---|---|
AutocorrelationSelector(int nFeaturesToSelect, int maxLag, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> AutocorrelationScores { get; } |
|
bool SupportsInverseTransform { get; } |
|
int MaxLag { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |