WaveletCoefficientSelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Wavelet
Wavelet Coefficient based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ WaveletCoefficientSelector<T>
Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>
For Beginners
This decomposes features into different frequency bands and checks which features have strong relationships with the target at various scales, helping identify features with multi-scale predictive power.
How It Works
Selects features based on the magnitude and correlation of their wavelet coefficients with the target variable across multiple decomposition levels.
Constructors
| Constructor | Summary |
|---|---|
WaveletCoefficientSelector(int nFeaturesToSelect, int decompositionLevel, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> WaveletScores { get; } |
|
bool SupportsInverseTransform { get; } |
|
int DecompositionLevel { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data, Vector<T> target) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |
|
void Fit(Matrix<T> data, Vector<T> target) |