Releases: lorentzenchr/model-diagnostics
v1.4.1
What's Changed
- DOC update examples with new release by @lorentzenchr in #196
- ENH rename collapsed "rest-n" to "other n" in binned strings by @lorentzenchr in #197
- REL increase to version 1.4.1 by @lorentzenchr in #198
Full Changelog: v1.4.0...v1.4.1
v1.4.0
Highlights
The binning methods of numpy.histogram_bin_edges
are now available in compute_bias
, compute_marginal
, plot_bias
and plot_marginal
.
The default argument of bin_method
of these functions changed to "auto"
.
Additionally, strings/categorical/enum features now display all the remaining (unique) values of a feature as "rest-n"
where n
indicates the number of unique values. This way, n_bins
is strictly adhered to.
The marginal plot from the example Regression on Workers' Compensation Dataset now looks like this:
What's Changed
- MNT hatchling >= 1.26.3 by @lorentzenchr in #192
- DOC improve docstring of add_marginal_subplot by @lorentzenchr in #193
- ENH add numpy binning options by @lorentzenchr in #194
- REL increase to version 1.4.0 by @lorentzenchr in #195
Full Changelog: v1.3.0...v1.4.0
v1.3.0
Highlights
plot_marginal
got a new argument show_lines
and a helper function add_marginal_subplot
to simplify subplots with plotly.
What's Changed
- DOC fix mkdocs-jupyter==0.24.7 by @lorentzenchr in #174
- MNT remove polyfill, javascipt updates and mkdocs-material version 9.5.31 by @lorentzenchr in #176
- MNT remove old fix for polars version 0.20 by @lorentzenchr in #182
- MNT simplify internal bin_feature a bit by @lorentzenchr in #183
- MNT remove old fix for polars version 0.20 part 2 by @lorentzenchr in #184
- CI switch back from macos-14 to macos-latest by @lorentzenchr in #185
- ENH add show_lines to plot_marginal by @lorentzenchr in #186
- FIX bin_edges with Null values in compute_marginal by @lorentzenchr in #188
- ENH add add_marginal_subplot by @lorentzenchr in #187
- CI use codecov token for upload by @lorentzenchr in #189
- ENH smaller confidence intervals in plot_reliability_diagram by @lorentzenchr in #190
- REL increase to version 1.3.0 by @lorentzenchr in #191
Full Changelog: v1.2.0...v1.3.0
v1.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:
What's Changed
- MNT Development Status :: 5 - Production/Stable by @lorentzenchr in #150
- MNT hatchling >= 1.24.2 by @lorentzenchr in #151
- MNT DOC mkdocs version and automatic dark-light mode by @lorentzenchr in #152
- DOC code block for pip install in README by @lorentzenchr in #153
- MNT ruff update, remove black by @lorentzenchr in #154
- MNT binning utilities by @lorentzenchr in #156
- DOC more general add unified docstring for y_pred by @lorentzenchr in #157
- MNT numpy 2.0.0 by @lorentzenchr in #158
- DOC add hatch config in development guide by @lorentzenchr in #159
- DOC make _config part of top level in API reference by @lorentzenchr in #160
- DOC add some more development commands for testing by @lorentzenchr in #161
- ENH compute_marginal and plot_marginal by @lorentzenchr in #162
- FIX drop in test_compute_marginal_multiple_predictions by @lorentzenchr in #164
- CI update test.yml and step order by @lorentzenchr in #163
- FIX typo in error message by @lorentzenchr in #166
- MNT increase minimum polars version to 1.0.0 by @lorentzenchr in #167
- DOC add more note links and minor doc improvements by @lorentzenchr in #168
- MNT remove polars_version by @lorentzenchr in #169
- CI add pyathon 3.12 and fix pandas without pyarrow installed by @lorentzenchr in #170
- DOC include inherited members in API reference by @lorentzenchr in #172
- REL increase to version 1.2.0 by @lorentzenchr in #171
Full Changelog: v1.1.1...v1.2.0
v1.1.1
This is a bugfix release.
What's Changed
- FIX polars 0.20.20 lazy neglects head(0) by @lorentzenchr in #148
- FIX remove argument plot_backend from plot_bias by @lorentzenchr in #147
- REL increase to version 1.1.1 by @lorentzenchr in #149
Full Changelog: v1.1.0...v1.1.1
v1.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
from model_diagnostics import set_config set_config(plot_backend="plotly")
- Context manager
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 #135
- CI make coverage account for full test matrix by @lorentzenchr in #137
- ENH add inital plotly backend to plot_reliability_diagram by @lorentzenchr in #136
- ENH add plotly backend to plot_bias by @lorentzenchr in #139
- ENH add plotly backend to plot_murphy_diagram by @lorentzenchr in #140
- ENH add config and move plot_backend to config system by @lorentzenchr in #141
- REL increase to version 1.1.0 by @lorentzenchr in #142
Full Changelog: v1.0.5...v1.1.0
v1.0.5
This is a bugfix release.
What's Changed
- FIX polars 0.20.4 deprecation warnings by @lorentzenchr in #133
- REL increase to version 1.0.5 by @lorentzenchr in #134
Full Changelog: v1.0.4...v1.0.5
v1.0.4
This is a bugfix release.
What's Changed
- FIX polars 0.20 by @lorentzenchr in #130
- DOC fix typo in identification_function docstring by @m-maggi in #129
- REL increase to version 1.0.4 by @lorentzenchr in #131
Full Changelog: v1.0.3...v1.0.4
v1.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 #122
- FIX polars 0.19.14 deprecation warnings by @lorentzenchr in #123
- DOC add classification example by @lorentzenchr in #121
- FIX correct functional as labels in plot_reliability_diagram by @m-maggi in #125
- DOC fix text on null hypothesis in quantile example by @lorentzenchr in #126
- REL increase to version 1.0.3 by @lorentzenchr in #127
New Contributors
Full Changelog: v1.0.2...v1.0.3
v1.0.2
This is a bugfix release that increases the minimum polars version to 0.17.15.
What's Changed
- DOC update dev doc by @lorentzenchr in #106
- FIX raise informed error in decompose when recalibrated out of range by @lorentzenchr in #111
- CI always run better hatch env test matrix by @lorentzenchr in #112
- MNT increase minimum polars to 0.17.15 by @lorentzenchr in #114
- FIX boolean mask in numpy array by @lorentzenchr in #115
- TST add skip mechanism when pandas or pyarrow are not installed by @lorentzenchr in #116
- MNT move test helpers to _utils.test_helper by @lorentzenchr in #117
- FIX score decomposition when recalibrated outside range of y_pred by @lorentzenchr in #118
- REL increase to version 1.0.2 by @lorentzenchr in #119
Full Changelog: v1.0.1...v1.0.2