EigenvalueRatioSelector<T>

Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Spectral

Eigenvalue Ratio based Feature Selection.

Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ†’ EigenvalueRatioSelector<T>

Implements: IFixedCountFeatureSelector<T>

For Beginners

Eigenvalues measure how much variance each direction in data captures. This selector keeps features that contribute most to the dominant directions of variance in your data.

How It Works

Selects features based on the ratio of top eigenvalues when features are added, measuring how much each feature contributes to data variance.

Constructors

Constructor Summary
EigenvalueRatioSelector(int nFeaturesToSelect, int[] columnIndices)

Properties

Property Summary
Vector<T> VarianceContributions { 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)