SkewnessSelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Moment
Skewness based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ SkewnessSelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
Skewness measures how lopsided a distribution is. Positive skewness means a long right tail, negative skewness means a long left tail. Features with moderate skewness often contain useful information.
How It Works
Selects features based on their skewness values, identifying features with asymmetric distributions that may capture important patterns.
Constructors
| Constructor | Summary |
|---|---|
SkewnessSelector(int nFeaturesToSelect, bool preferHighSkewness, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> SkewnessValues { get; } |
|
bool PreferHighSkewness { get; } |
|
bool SupportsInverseTransform { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |