PercentileRangeSelector<T>

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

Percentile Range based Feature Selection.

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

Implements: IFixedCountFeatureSelector<T>

For Beginners

This selector measures the spread of data between two percentiles you choose. For example, the 10th-90th percentile range captures 80% of the data, ignoring extreme outliers at both ends.

How It Works

Selects features based on the range between specified percentiles, allowing customizable robust measures of spread.

Constructors

Constructor Summary
PercentileRangeSelector(int nFeaturesToSelect, double lowerPercentile, double upperPercentile, int[] columnIndices)

Properties

Property Summary
Vector<T> RangeValues { get; }
bool SupportsInverseTransform { get; }
double LowerPercentile { get; }
double UpperPercentile { get; }
int NFeaturesToSelect { get; }
int[] SelectedIndices { get; }

Methods

Method Summary
Matrix<T> FitTransform(Matrix<T> data)
bool[] GetSupportMask()
string[] GetFeatureNamesOut(string[] inputFeatureNames)