DifferentialEntropySelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Entropy
Differential Entropy based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ DifferentialEntropySelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
Differential entropy measures uncertainty in continuous distributions. Unlike discrete entropy, it can be negative. Features with higher differential entropy contain more unpredictable information, which may indicate useful variability.
How It Works
Selects features based on their differential (continuous) entropy, estimated using nearest-neighbor methods.
Constructors
| Constructor | Summary |
|---|---|
DifferentialEntropySelector(int nFeaturesToSelect, int kNeighbors, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> EntropyValues { get; } |
|
bool SupportsInverseTransform { get; } |
|
int KNeighbors { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |