JackknifeSelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Stability
Jackknife based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ JackknifeSelector<T>
Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>
For Beginners
Jackknife is a resampling method that removes one data point at a time and recalculates statistics. Features with consistent importance scores across all jackknife samples are more reliable.
How It Works
Selects features based on their stability under jackknife resampling, which systematically leaves out one sample at a time.
Constructors
| Constructor | Summary |
|---|---|
JackknifeSelector(int nFeaturesToSelect, int maxJackknifeIterations, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> ImportanceVariance { get; } |
|
Vector<T> MeanImportance { get; } |
|
bool SupportsInverseTransform { 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) |