Tools for diagnostics and assessment of (machine learning) models
Project description
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_pred
and 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.
:rocket: 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. :rocket:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file model_diagnostics-1.2.0.tar.gz
.
File metadata
- Download URL: model_diagnostics-1.2.0.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11676ac1f713c7c185c464dc2d4adc2d510bd70273af637e90f634ce98b77549 |
|
MD5 | f806a7563fadbe82bab0c808ae3c3a5c |
|
BLAKE2b-256 | 83c518986f5ff5387aa5e002192389238648ef776ab502980b92e60db235d8da |
File details
Details for the file model_diagnostics-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: model_diagnostics-1.2.0-py3-none-any.whl
- Upload date:
- Size: 81.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c6d2b0f6b75d1067ea9f1c079bb715cd96cb089cfd1b87267d00ec4ace8012 |
|
MD5 | 94d7da3a3f686033ea5754b896361386 |
|
BLAKE2b-256 | 8e5481e0d08d2e204f78f44b2c2f2811179f786b07388401c8675c49775fb09e |