TsallisEntropySelector<T>
Models & Types · AiDotNet.Preprocessing.FeatureSelection.Entropy
Tsallis Entropy based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> → TsallisEntropySelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
Tsallis entropy is another generalization of entropy that’s particularly useful for complex systems. It doesn’t assume independence like Shannon entropy, making it useful when features have interactions.
How It Works
Selects features based on their Tsallis entropy, a non-extensive generalization of entropy useful for systems with long-range correlations.
Constructors
| Constructor | Summary |
|---|---|
TsallisEntropySelector(int nFeaturesToSelect, int nBins, double q, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> TsallisEntropies { get; } |
|
bool SupportsInverseTransform { get; } |
|
double Q { get; } |
|
int NBins { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |