IQRThreshold<T>
Models & Types · AiDotNet.Preprocessing.FeatureSelection.Filter
Interquartile Range (IQR) threshold feature selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> → IQRThreshold<T>
Implements: IFeatureSelector<T>
For Beginners
IQR is the range between the 25th and 75th percentile. It tells you how spread out the “typical” values are, ignoring extreme high or low values. Features with small IQR have values clustered tightly together and may not be useful for distinguishing samples.
How It Works
Removes features whose IQR is below a threshold. IQR measures the spread of the middle 50% of data and is robust to outliers.
Constructors
| Constructor | Summary |
|---|---|
IQRThreshold(double threshold, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
bool SupportsInverseTransform { get; } |
|
double Threshold { get; } |
|
double[] IQRValues { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |