LLESelector<T>
Models & Types · AiDotNet.Preprocessing.FeatureSelection.Manifold
Locally Linear Embedding (LLE) inspired Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> → LLESelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
LLE assumes each point can be described as a linear combination of its neighbors. This selector finds features important for maintaining those local linear relationships.
How It Works
Selects features based on their importance in preserving local linear relationships in the data manifold.
Constructors
| Constructor | Summary |
|---|---|
LLESelector(int nFeaturesToSelect, int nNeighbors, int[] columnIndices, double regularization) |
Properties
| Property | Summary |
|---|---|
Vector<T> LocalLinearityScores { get; } |
|
bool SupportsInverseTransform { get; } |
|
double Regularization { get; } |
Gets the regularization of the local Gram matrices, relative to their trace (scikit-learn’s reg). |
int NFeaturesToSelect { get; } |
|
int NNeighbors { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |