LocalBinaryPatternSelector<T>

Models & Types · AiDotNet.Preprocessing.FeatureSelection.Texture

Local Binary Pattern inspired Feature Selection.

Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> → LocalBinaryPatternSelector<T>

Implements: IFixedCountFeatureSelector<T>

For Beginners

This looks at how each value compares to its neighbors, creating a “pattern” at each point. Features with more interesting local patterns often carry more discriminative information.

How It Works

Selects features based on their local pattern characteristics computed from neighboring value comparisons.

Constructors

Constructor Summary
LocalBinaryPatternSelector(int nFeaturesToSelect, int neighborhoodSize, int[] columnIndices)

Properties

Property Summary
Vector<T> PatternScores { get; }
bool SupportsInverseTransform { get; }
int NFeaturesToSelect { get; }
int NeighborhoodSize { get; }
int[] SelectedIndices { get; }

Methods

Method Summary
Matrix<T> FitTransform(Matrix<T> data)
bool[] GetSupportMask()
string[] GetFeatureNamesOut(string[] inputFeatureNames)