SVDBasedSelector<T>

Models & Types · AiDotNet.Preprocessing.FeatureSelection.Projection

SVD-based Feature Selection.

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

Implements: IFixedCountFeatureSelector<T>

For Beginners

SVD breaks down your data into components ordered by importance. Features that have high values in the most important components are the features that capture the most information about the data’s structure.

How It Works

Uses Singular Value Decomposition to identify features that contribute most to the dominant singular vectors.

Constructors

Constructor Summary
SVDBasedSelector(int nFeaturesToSelect, int nComponents, int[] columnIndices)

Properties

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

Methods

Method Summary
bool[] GetSupportMask()
string[] GetFeatureNamesOut(string[] inputFeatureNames)