Skip to main content

Tools for diagnostics and assessment of (machine learning) models

Project description

model-diagnostics

CI/CD CI - Test Coverage
Docs Docs
Package PyPI - Version PyPI - Downloads PyPI - Python Version
Meta Hatch project linting - Ruff code style - black types - Mypy License - MIT

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).
  • Assess calibration and bias graphically
    • reliability diagrams for auto-calibration
    • bias plots for conditional calibration
  • Assess the predictive performance of models
    • strictly consistent, homogeneous scoring functions
    • score decomposition into miscalibration, discrimination and uncertainty

:rocket: To our knowledge, this is the first python package to offer reliability diagrams for quantiles and expectiles 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

model_diagnostics-1.0.0rc0.tar.gz (632.1 kB view details)

Uploaded Source

Built Distribution

model_diagnostics-1.0.0rc0-py3-none-any.whl (58.4 kB view details)

Uploaded Python 3

File details

Details for the file model_diagnostics-1.0.0rc0.tar.gz.

File metadata

  • Download URL: model_diagnostics-1.0.0rc0.tar.gz
  • Upload date:
  • Size: 632.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for model_diagnostics-1.0.0rc0.tar.gz
Algorithm Hash digest
SHA256 430fdb2dc8215e8608a79a40585ad4bcdd778ba7ff61855675825f40b312dbe4
MD5 cfa95ed1f91cd2fdfb4aa3877a95d017
BLAKE2b-256 ed1606a4739931fe7711169f184d3d9b784f593a9a41fd4e8bb42c0987452e8c

See more details on using hashes here.

File details

Details for the file model_diagnostics-1.0.0rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for model_diagnostics-1.0.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 883f24d8569994062c4637af83c8b585341b11fb1ea813c3545cc7d496d8b57f
MD5 2fc6ddb0644cabaf0387af022c255203
BLAKE2b-256 e677b51c2ae73d095ceead2b879946c918d555e0369813571dc084bc1067c47a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page