sklears-feature-selection
Latest release:
0.1.0-alpha.2(December 22, 2025). See the workspace release notes for highlights and upgrade guidance.
Overview
sklears-feature-selection brings the complete scikit-learn feature selection toolbox to Rust, including filter, wrapper, and embedded methods. The crate underpins AutoML workflows, feature pipelines, and inspection utilities across the sklears project.
Key Features
- Filter Methods: VarianceThreshold, mutual information, ANOVA F-tests, chi-square tests, and more.
- Wrapper Methods: RFE/RFECV, SequentialFeatureSelector, model-based selectors with parallel evaluation.
- Embedded Techniques: L1-based selection, tree-based importance, stability selection, and feature importance scoring.
- Streaming & GPU Support: Optional streaming evaluators and CUDA/WebGPU acceleration for heavy scoring tasks.
Quick Start
use ;
use LogisticRegression;
let estimator = builder
.max_iter
.multi_class
.build;
let selector = builder
.estimator
.strategy
.n_features_to_select
.n_jobs
.build;
let fitted = selector.fit?;
let x_selected = fitted.transform?;
Status
- Covered by the 11,292 passing workspace tests executed for
0.1.0-alpha.2. - Supports >99% of scikit-learn’s feature selection API surface.
- Additional milestones (distributed scoring, SHAP-guided selection) tracked in this crate’s
TODO.md.