SeasonalitySelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Temporal
Seasonality based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ SeasonalitySelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
Seasonal features show repeating patterns (like higher sales every December). This selector finds features with strong periodic behavior using spectral analysis.
How It Works
Selects features based on the presence of seasonal (periodic) patterns, identifying features with repeating cycles.
Constructors
| Constructor | Summary |
|---|---|
SeasonalitySelector(int nFeaturesToSelect, int minPeriod, int maxPeriod, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> SeasonalityStrengths { get; } |
|
bool SupportsInverseTransform { get; } |
|
int MaxPeriod { get; } |
|
int MinPeriod { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |