mrmr-selection implements the minimum-Redundancy-Maximum-Relevance (mRMR) algorithm for feature selection. Version 0.2.8 is current, with releases on a slow cadence. It supports classification and regression tasks, using mutual information and F-statistic to rank features.
pip install mrmr-selectionNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Select the top 2 features from the Iris dataset using mRMR classification.
Convert X to a pandas DataFrame before calling mrmr_classif or mrmr_regression.
Use K=... instead of n_features=... in function calls.
If you need mutual information for regression, consider preprocessing or alternative implementations.
Ensure columns are in the same order across runs or set a random_state if using tie-breaking (not yet supported).
pip install mrmr-selection and then use 'from mrmr import mrmr_classif'.
Convert X to pd.DataFrame(X, columns=...) before passing to mrmr.
Set K to a positive integer less than or equal to X.shape[1].