JointEntropySelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Entropy
Joint Entropy based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ JointEntropySelector<T>
Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>
For Beginners
Joint entropy measures the total randomness when considering a feature and target together. Lower joint entropy relative to individual entropies indicates the feature and target are related.
How It Works
Selects features based on their joint entropy with the target, favoring features that share information with the target.
Constructors
| Constructor | Summary |
|---|---|
JointEntropySelector(int nFeaturesToSelect, int nBins, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> NormalizedMutualInfo { get; } |
|
bool SupportsInverseTransform { get; } |
|
int NBins { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data, Vector<T> target) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |
|
void Fit(Matrix<T> data, Vector<T> target) |