SynergySelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Interaction
Synergy based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ SynergySelector<T>
Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>
For Beginners
Synergy occurs when two features together provide more information than the sum of their individual information. This selector finds features that work synergistically with others.
How It Works
Selects features based on their synergistic information with other features, measuring how features provide complementary information about the target.
Constructors
| Constructor | Summary |
|---|---|
SynergySelector(int nFeaturesToSelect, int nBins, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> SynergyScores { 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) |