FractalDimensionSelector<T>

Models & Types · AiDotNet.Preprocessing.FeatureSelection.Complexity

Fractal Dimension based Feature Selection.

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

Implements: IFixedCountFeatureSelector<T>

For Beginners

Fractal dimension measures how “rough” or complex a signal is. A straight line has dimension 1, a completely random signal approaches dimension 2. Complex, irregular patterns have higher fractal dimensions. This is useful for finding features with interesting structure.

How It Works

Selects features based on their estimated fractal dimension using the Higuchi algorithm, measuring signal complexity.

Constructors

Constructor Summary
FractalDimensionSelector(int nFeaturesToSelect, int kMax, int[] columnIndices)

Properties

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

Methods

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