IQRSelector<T>

Models & Types · AiDotNet.Preprocessing.FeatureSelection.Range

Interquartile Range (IQR) based Feature Selection.

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

Implements: IFixedCountFeatureSelector<T>

For Beginners

IQR is the difference between the 75th and 25th percentiles. It’s a robust measure of spread that isn’t affected by outliers. Features with higher IQR have more variation in their typical values.

How It Works

Selects features based on their interquartile range, which measures the spread of the middle 50% of data values.

Constructors

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

Properties

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