ClusterSeparabilitySelector<T>
Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Clustering
Cluster Separability based Feature Selection.
Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ ClusterSeparabilitySelector<T>
Implements: IFixedCountFeatureSelector<T>
For Beginners
Good features should make clusters easy to tell apart. This selector finds features where different groups of data are far from each other but points within each group are close together.
How It Works
Selects features based on how well they separate natural clusters in the data, measuring the ratio of between-cluster to within-cluster variance.
Constructors
| Constructor | Summary |
|---|---|
ClusterSeparabilitySelector(int nFeaturesToSelect, int nClusters, int[] columnIndices) |
Properties
| Property | Summary |
|---|---|
Vector<T> SeparabilityScores { get; } |
|
bool SupportsInverseTransform { get; } |
|
int NClusters { get; } |
|
int NFeaturesToSelect { get; } |
|
int[] SelectedIndices { get; } |
Methods
| Method | Summary |
|---|---|
Matrix<T> FitTransform(Matrix<T> data) |
|
bool[] GetSupportMask() |
|
string[] GetFeatureNamesOut(string[] inputFeatureNames) |