TrustLens v0.4.0 — Framework-Agnostic Trustworthiness Platform #94
Khanz9664
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 TrustLens v0.4.0 — Framework-Agnostic Trustworthiness Platform
TrustLens v0.4.0 is a major architectural milestone that transforms TrustLens from a scikit-learn-focused extension into a framework-agnostic platform for ML trustworthiness evaluation.
This release introduces a new backend resolver architecture, native XGBoost support, improved auditability, stronger calibration correctness, and substantial production hardening — all while maintaining zero breaking changes for existing scikit-learn users.
🏛️ Framework-Agnostic Prediction Resolver Architecture
At the heart of v0.4.0 is a complete decoupling of prediction generation from trustworthiness evaluation.
TrustLens now uses a Prediction Resolver Architecture that:
This lays the foundation for broader ecosystem support while keeping the analysis engine framework-agnostic.
🌟 Highlights
✅ Native XGBoost Support
TrustLens now supports:
XGBClassifierxgboost.BoosterobjectsFeatures include:
DMatrixhandlingreg:*,rank:*)Install optionally:
pip install "trustlens[xgboost]"✅ Manual Prediction Pipelines (
model=None)TrustLens can now audit external inference pipelines and unsupported frameworks using:
This enables:
✅ Scientifically Correct Multiclass Calibration
Fixed a significant calibration issue affecting multiclass classification.
TrustLens now correctly computes the Multiclass Brier Score using class-wise mean squared error, instead of incorrectly assuming binary probabilities.
This improves the scientific reliability of calibration metrics for complex classification systems.
✅ Audit Provenance & Metadata
Every
TrustReportnow includes backend provenance:This improves reproducibility, experiment tracking, and deployment auditing.
✅ Stability & Hardening
v0.4.0 includes substantial production hardening:
When probabilistic outputs are unavailable, TrustLens now explicitly records:
{ "degraded_mode": true, "missing_components": [...] }for full transparency.
📦 Unified Export Artifacts
Trust reports are now easier to persist and consume.
generates a single, self-contained artifact containing:
Perfect for:
🛡️ Compatibility & Migration
Zero Breaking Changes
Existing scikit-learn workflows continue to work unchanged.
No migration is required for current users.
Optional XGBoost Dependency
XGBoost remains fully optional.
If unused, TrustLens will not import or require it.
📈 Release Quality
v0.4.0 ships with:
📚 Documentation
CHANGELOG.mddocs/architecture.mddocs/internal/prediction_contract.mdThank you to everyone following and contributing to TrustLens 🚀
This release establishes the foundation for future backend support across the broader ML ecosystem.
This discussion was created from the release TrustLens v0.4.0 — Framework-Agnostic Trustworthiness Platform.
Beta Was this translation helpful? Give feedback.
All reactions