SpectralEntropySelector<T>

Models & Types · AiDotNet.Preprocessing.FeatureSelection.Spectral

Spectral Entropy based Feature Selection.

Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> → SpectralEntropySelector<T>

Implements: IFixedCountFeatureSelector<T>

For Beginners

This analyzes the “frequency content” of each feature’s information. Features with more complex spectral patterns (higher entropy) often contain more useful information for prediction.

How It Works

Selects features based on their spectral entropy computed from the eigenvalue distribution of their covariance structure.

Constructors

Constructor Summary
SpectralEntropySelector(int nFeaturesToSelect, int windowSize, int[] columnIndices)

Properties

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

Methods

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