MinimalRedundancySelector<T>

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

Minimal Redundancy Feature Selection.

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

Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>

For Beginners

When features are highly correlated with each other, they provide similar information. This selector picks features that are different from each other while still being useful for prediction.

How It Works

Selects features that minimize redundancy among selected features while maximizing relevance to the target (mRMR-like approach).

Constructors

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

Properties

Property Summary
Vector<T> MRMRScores { get; }
bool SupportsInverseTransform { 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)