FCI_Selector<T>
Models & Types · AiDotNet.Preprocessing.FeatureSelection.Causal
Fast Causal Inference (FCI) Algorithm Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> → FCI_Selector<T>
Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>
For Beginners
FCI extends the PC algorithm to handle hidden (unmeasured) variables. It builds a partial ancestral graph and selects features that have causal connections to the target, even accounting for variables we can’t observe.
How It Works
Uses the FCI algorithm for causal discovery with latent confounders, selecting features that are direct causes or effects of the target.
Constructors
| Constructor | Summary |
|---|---|
FCI_Selector(int nFeaturesToSelect, double alpha, int maxConditioningSetSize, 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) |