model-diagnostics
| CI/CD | |
| Docs | |
| Package | |
| Meta |
Tools for diagnostics and assessment of (machine learning) models
Highlights:
- All common point predictions covered: mean, median, quantiles, expectiles.
- Assess model calibration with identification functions (generalized residuals), compute_bias and compute_marginal.
- Assess calibration and bias graphically
- reliability diagrams for auto-calibration
- bias plots for conditional calibration
- marginal plots for average
y_obs,y_predand partial dependence for one feature
- Assess the predictive performance of models
- strictly consistent, homogeneous scoring functions
- score decomposition into miscalibration, discrimination and uncertainty
- Choose your plot backend, either matplotlib or plotly, e.g., via set_config.
🚀 To our knowledge, this is the first python package to offer reliability diagrams for quantiles and expectiles and a score decomposition, both made available by an internal implementation of isotonic quantile/expectile regression. 🚀
Read more in the documentation.
This package relies on the giant shoulders of, among others, polars, matplotlib, scipy and scikit-learn.
Installation
pip install model-diagnostics
Contributions
Contributions are warmly welcome! When contributing, you agree that your contributions will be subject to the MIT License.
Metadata
Release files for model-diagnostics 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| model_diagnostics-1.5.1.tar.gz | 3.2 MB | Without provenance | Details for model_diagnostics-1.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| model_diagnostics-1.5.1-py3-none-any.whl | Python 3 | none | any | Details for model_diagnostics-1.5.1-py3-none-any.whl |
Total release size: 3.3 MB
Release files / model_diagnostics-1.5.1.tar.gz
| Download URL | model_diagnostics-1.5.1.tar.gz |
|---|---|
| Size | 3.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d65ff0433486ad00cd55a9b12cdbfc38db51935ad6077633f1b57d62f44dbb6c
|
|
BLAKE2b-256 checksum How to use checksums |
c448000e630c84040482efbb1a5c433000684c3c4e74e59d3ebe6757887b8251
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.17.0 {"ci":null,"cpu":"x86_64","distro":{"name":"macOS","version":"15.8.1"},"implementation":{"name":"CPython","version":"3.14.5"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.6.2 7 Apr 2026","python":"3.14.5","system":{"name":"Darwin","release":"24.6.0"}} HTTPX2/2.3.0
|
Release files / model_diagnostics-1.5.1-py3-none-any.whl
| Download URL | model_diagnostics-1.5.1-py3-none-any.whl |
|---|---|
| Size | 102.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c42b2d2f5fe4671c28450723a62384d75b8e9b3681e84f1bb6f0eeccdbb29ad0
|
|
BLAKE2b-256 checksum How to use checksums |
976c1da80a968f6cfd4d702fc0bb37f457853187a45b7ac4731ae6ce271d1a46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.17.0 {"ci":null,"cpu":"x86_64","distro":{"name":"macOS","version":"15.8.1"},"implementation":{"name":"CPython","version":"3.14.5"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.6.2 7 Apr 2026","python":"3.14.5","system":{"name":"Darwin","release":"24.6.0"}} HTTPX2/2.3.0
|
Security for model-diagnostics 1.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.