sklears-utils
Latest release:
0.1.0-beta.1(January 1, 2026). See the workspace release notes for highlights and upgrade guidance.
Overview
sklears-utils hosts shared utilities used across the sklears workspace—configuration helpers, logging, dataset helpers, validation routines, and developer ergonomics.
Key Features
- Configuration: Environment-aware configuration loaders, feature flag combinators, and CLI helpers.
- Validation: Data shape checks, feature metadata, error context propagation, and safe casting utilities.
- Parallel Helpers: Rayon thread-pool orchestration, chunking strategies, and work-stealing helpers.
- Testing Support: Fixtures, golden data loaders, and deterministic RNG wrappers for reproducible tests.
Usage
This crate is primarily consumed internally, but developers extending sklears can depend on it for consistent utilities.
use check_array;
use Array2;
let x: = // load data
zeros;
check_array?.ensure_finite?;
Status
- Validated indirectly by the entire workspace test suite (11,292 passing tests) in
0.1.0-beta.1. - Acts as shared infrastructure for dozens of crates.
- Additional helpers and refactors are tracked in this crate’s
TODO.md.