CMIM<T>

Models & Types · AiDotNet.Preprocessing.FeatureSelection.Filter.InformationTheory

Conditional Mutual Information Maximization (CMIM) for feature selection.

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

Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>

For Beginners

CMIM picks features that provide new information about the target that isn’t already captured by previously selected features. It’s like building a team where each new member brings truly unique knowledge.

How It Works

CMIM selects features that maximize mutual information with the target while conditioning on already selected features. It addresses redundancy by considering conditional dependencies.

Constructors

Constructor Summary
CMIM(int nFeaturesToSelect, int nBins, int[] columnIndices)

Properties

Property Summary
Vector<T> CMIMScores { get; }
Vector<T> MIScores { get; }
bool SupportsInverseTransform { get; }
int NBins { get; }
int NFeaturesToSelect { 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)