CoefOfVariationSelector<T>

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

Coefficient of Variation based Feature Selection.

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

Implements: IFixedCountFeatureSelector<T>

For Beginners

CV is the ratio of standard deviation to the mean. Features with higher CV have more relative variability, which often indicates they carry useful information for distinguishing between samples.

How It Works

Selects features based on their coefficient of variation (CV), which measures the relative variability compared to the mean.

Constructors

Constructor Summary
CoefOfVariationSelector(int nFeaturesToSelect, bool preferHighCV, int[] columnIndices)

Properties

Property Summary
Vector<T> CVValues { get; }
bool PreferHighCV { 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)