GES_Selector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Causal
Greedy Equivalence Search (GES) Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ GES_Selector<T>
Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>
For Beginners
GES finds the best causal structure by greedily adding and removing edges to maximize a score (like BIC). Features connected to the target in the learned structure are selected.
How It Works
Uses the GES algorithm for causal structure learning, which searches over equivalence classes of DAGs using a score-based approach.
Constructors
| Constructor | Summary |
|---|---|
GES_Selector(int nFeaturesToSelect, double penaltyDiscount, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
bool SupportsInverseTransform { get; } |
|
double[] CausalScores { 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) |