FuzzyRoughSetSelector<T>

Models & Types · AiDotNet.Preprocessing.FeatureSelection.Fuzzy

Fuzzy Rough Set Feature Selection.

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

Implements: ISupervisedFeatureSelector<T>

For Beginners

Traditional rough sets use sharp boundaries (same/different), but real data often has degrees of similarity. Fuzzy rough sets allow saying “these objects are 80% similar” instead of just “same” or “different”. This gives more nuanced feature selection.

How It Works

Combines fuzzy set theory with rough set theory to handle both uncertainty and vagueness in data. Uses fuzzy equivalence relations to compute fuzzy positive regions and find feature reducts.

Constructors

Constructor Summary
FuzzyRoughSetSelector(int maxFeatures, double sigma, int[] columnIndices)

Properties

Property Summary
Vector<T> FuzzyDependencies { get; }
bool SupportsInverseTransform { get; }
double Sigma { get; }
int MaxFeatures { 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)