DecisionBoundarySelector<T>

Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Boundary

Decision Boundary based Feature Selection.

Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ†’ DecisionBoundarySelector<T>

Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>

For Beginners

A decision boundary is where the classifier switches from predicting one class to another. Features that create clear, simple boundaries are easier for classifiers to use effectively.

How It Works

Selects features based on how clearly they separate classes at the decision boundary, focusing on features that create clean class separations.

Constructors

Constructor Summary
DecisionBoundarySelector(int nFeaturesToSelect, int[] columnIndices)

Properties

Property Summary
Vector<T> BoundaryClarityScores { 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)