FactorAnalysisSelector<T>

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

Factor Analysis based Feature Selection.

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

Implements: IFixedCountFeatureSelector<T>

For Beginners

Factor analysis finds hidden patterns in data by identifying underlying factors. Features that are strongly connected to these factors are selected, as they carry the most meaningful information.

How It Works

Selects features based on their factor loadings, identifying features that load heavily on extracted latent factors.

Constructors

Constructor Summary
FactorAnalysisSelector(int nFeaturesToSelect, int nFactors, int[] columnIndices)

Properties

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

Methods

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