sklears-compose
Latest release:
0.1.0-beta.1(January 1, 2026). See the workspace release notes for highlights and upgrade guidance.
Overview
sklears-compose implements pipelines, column transformers, target transformers, and composite estimator utilities matching scikit-learn’s compose module.
Key Features
- Pipelines: Type-safe, state-aware
PipelineandFeatureUnionimplementations with parallel execution support. - Column Transforms: ColumnTransformer, make_column_transformer, and feature selection by dtype or name.
- Target Transformations: TransformedTargetRegressor, inverse-transform aware scorers, and custom adapters.
- Serialization: Friendly with serde-powered persistence and Python interoperability via
sklears-python.
Quick Start
use ;
use ;
use LinearRegression;
let preprocessor = make_column_transformer
.with_transformer
.with_transformer
.build;
let pipeline = builder
.add_step
.add_step
.build;
let fitted = pipeline.fit?;
let predictions = fitted.predict?;
Status
- Verified through workspace integration tests;
0.1.0-beta.1recorded 10,013 passes with zero failures. - Supports all major scikit-learn compose APIs plus Rust-centric ergonomic improvements.
- Future enhancements (async pipelines, streaming feature unions) tracked in
TODO.md.