MissingValueSelector<T>
Models & Types · AiDotNet.Preprocessing.FeatureSelection.Unsupervised
Missing Value-based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> → MissingValueSelector<T>
Implements: IFeatureSelector<T>
For Beginners
Features with lots of missing data can’t be reliably used for predictions. This selector removes features where too much data is missing, keeping only the ones with enough information.
How It Works
Removes features that have too many missing values (zeros, NaN, or below-threshold unique values), keeping only features with sufficient data.
Constructors
| Constructor | Summary |
|---|---|
MissingValueSelector(double threshold, double missingValue, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> MissingRatios { get; } |
|
bool SupportsInverseTransform { get; } |
|
double Threshold { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |