OutlierRobustSelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Robustness
Outlier Robust Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ OutlierRobustSelector<T>
Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>
For Beginners
Some features are heavily influenced by extreme values (outliers). This selector finds features whose relationship with the target is consistent whether outliers are present or removed.
How It Works
Selects features that maintain their predictive relationship with the target even when outliers are present, using robust statistics.
Constructors
| Constructor | Summary |
|---|---|
OutlierRobustSelector(int nFeaturesToSelect, double outlierThreshold, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> RobustnessScores { get; } |
|
bool SupportsInverseTransform { get; } |
|
double OutlierThreshold { 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) |