Repository navigation
v0.3.0
0.3.0
First open-source release. Versions 0.1 and 0.2 were internal and are not in
this repository's history.
Added
pasteur-core,pasteur-cli,pasteur-hf, andpasteur-model.pypasteur(import pypasteur). Wheels are abi3 for CPython ≥ 3.12:
Linux x86_64/aarch64, macOS x86_64/arm64, and Windows x64, plus an sdist.- A release publishes those artifacts to PyPI, the four crates to crates.io,
and the GitHub Release.
Behavior
- Blackout masks companion columns.
BlackoutConfig.companionsis
required.apply_masknulls the feature and its companions together, and
errors if a companion is not in the frame. A blacked-out assay that kept
{assay}_measured == 1is not a row an EHR emits, so flip rates would
measure extrapolation rather than robustness.
pasteur-cli simulate --blackout-companion <COL>is repeatable. - Null fill defaults to NaN.
OnnxModel::from_filetakesnull_fill,
andevaluate/comparetake--null-fill. Resolution order: flag →
the model'smetadata.jsoninput.absent_sentinel→ NaN.0.0TSH is
not absence, it is profoundly suppressed. Models that are not NaN-native
error instead of returning NaN probabilities that poison ROC AUC.
A model trained with0.0as the missing-value token should declare
"absent_sentinel": 0.0underinputinmetadata.json, or pass
--null-fill 0. - Feature order is validated against the loaded model.
from_file
resolves the input name against the session's actual inputs, checks the
input width, and — when ametadata.jsonsits beside the.onnx—
comparesinput.feature_orderelement-wise. Wrong width already errored
inside ONNX Runtime; wrong order at the right width did not.
Changed
- Licensed under BSD-3-Clause. Crates carry crates.io metadata and inherit
version, license, and MSRV from the workspace. - Builds on stable Rust ≥ 1.95. 1.95 is the floor polars 0.54 actually
needs (polars-oocuses APIs stabilized in 1.95), even though no
dependency declares it.
Full Changelog: https://github.com/Krv-Labs/pasteur/commits/v0.3.0