FourierMagnitudeSelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Frequency
Fourier Magnitude based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ FourierMagnitudeSelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
The Fourier transform reveals periodic patterns in data. Features with high spectral energy contain strong repeating patterns that may be useful for prediction.
How It Works
Selects features based on their spectral energy in the frequency domain, identifying features with strong periodic components.
Constructors
| Constructor | Summary |
|---|---|
FourierMagnitudeSelector(int nFeaturesToSelect, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> SpectralEnergies { 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) |