GranulometrySelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Morphological
Granulometry based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ GranulometrySelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
Granulometry measures the size distribution of structures in data by applying progressively larger opening operations. Features with interesting size distributions (neither too smooth nor too noisy) are selected.
How It Works
Selects features based on granulometric analysis, measuring how features respond to morphological openings of increasing size.
Constructors
| Constructor | Summary |
|---|---|
GranulometrySelector(int nFeaturesToSelect, int maxWindowSize, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> GranulometryScores { get; } |
|
bool SupportsInverseTransform { get; } |
|
int MaxWindowSize { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |