Model-diagnostics

Latest version: v1.2.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.2.0

Highlights
The most important changes in this release are the following:
* The minimal required version of polars is now 1.0.0. This simplified a lot of code as polars had quite some deprecations in the releases before 1.0.0.
* Numpy 2.0.0 and higher is supported (and tested).
* 2 new functions for inspection of model calibration and model effects:
* `model_diagnostics.calibration.compute_marginal`
* `model_diagnostics.calibration.plot_marginal` which can look like this
![image](https://github.com/user-attachments/assets/ed3acf65-a761-4b22-9eda-a98f1ef3b40e)


What's Changed
* MNT Development Status :: 5 - Production/Stable by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/150
* MNT hatchling >= 1.24.2 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/151
* MNT DOC mkdocs version and automatic dark-light mode by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/152
* DOC code block for pip install in README by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/153
* MNT ruff update, remove black by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/154
* MNT binning utilities by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/156
* DOC more general add unified docstring for y_pred by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/157
* MNT numpy 2.0.0 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/158
* DOC add hatch config in development guide by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/159
* DOC make _config part of top level in API reference by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/160
* DOC add some more development commands for testing by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/161
* ENH compute_marginal and plot_marginal by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/162
* FIX drop in test_compute_marginal_multiple_predictions by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/164
* CI update test.yml and step order by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/163
* FIX typo in error message by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/166
* MNT increase minimum polars version to 1.0.0 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/167
* DOC add more note links and minor doc improvements by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/168
* MNT remove polars_version by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/169
* CI add pyathon 3.12 and fix pandas without pyarrow installed by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/170
* DOC include inherited members in API reference by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/172
* REL increase to version 1.2.0 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/171


**Full Changelog**: https://github.com/lorentzenchr/model-diagnostics/compare/v1.1.1...v1.2.0

1.1.1

This is a bugfix release.
What's Changed
* FIX polars 0.20.20 lazy neglects head(0) by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/148
* FIX remove argument plot_backend from plot_bias by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/147
* REL increase to version 1.1.1 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/149


**Full Changelog**: https://github.com/lorentzenchr/model-diagnostics/compare/v1.1.0...v1.1.1

1.1.0

Highlights
This release ships with the option to plot with plotly instead of matplotlib, but plotly is only an optional dependency only required if this option is used:
- Set global settings
python
from model_diagnostics import set_config

set_config(plot_backend="plotly")

- Context manager
python
from model_diagnostics import config_context
from model_diagnostics.calibration import plot_bias

with config_context(plot_backend="plotly"):
plot_bias(...)


What's Changed
* DOC fix docstrings after sub-bullet points by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/135
* CI make coverage account for full test matrix by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/137
* ENH add inital plotly backend to plot_reliability_diagram by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/136
* ENH add plotly backend to plot_bias by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/139
* ENH add plotly backend to plot_murphy_diagram by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/140
* ENH add config and move plot_backend to config system by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/141
* REL increase to version 1.1.0 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/142


**Full Changelog**: https://github.com/lorentzenchr/model-diagnostics/compare/v1.0.5...v1.1.0

1.0.5

This is a bugfix release.

What's Changed
* FIX polars 0.20.4 deprecation warnings by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/133
* REL increase to version 1.0.5 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/134


**Full Changelog**: https://github.com/lorentzenchr/model-diagnostics/compare/v1.0.4...v1.0.5

1.0.4

This is a bugfix release.

What's Changed
* FIX polars 0.20 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/130
* DOC fix typo in identification_function docstring by m-maggi in https://github.com/lorentzenchr/model-diagnostics/pull/129
* REL increase to version 1.0.4 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/131


**Full Changelog**: https://github.com/lorentzenchr/model-diagnostics/compare/v1.0.3...v1.0.4

1.0.3

This is a bugfix release.

Highlights
* New example for classification 121

What's Changed
* MNT emoji extension of mkdoc material by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/122
* FIX polars 0.19.14 deprecation warnings by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/123
* DOC add classification example by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/121
* FIX correct functional as labels in plot_reliability_diagram by m-maggi in https://github.com/lorentzenchr/model-diagnostics/pull/125
* DOC fix text on null hypothesis in quantile example by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/126
* REL increase to version 1.0.3 by lorentzenchr in https://github.com/lorentzenchr/model-diagnostics/pull/127

New Contributors
* m-maggi made their first contribution in https://github.com/lorentzenchr/model-diagnostics/pull/125

**Full Changelog**: https://github.com/lorentzenchr/model-diagnostics/compare/v1.0.2...v1.0.3

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.