Skip to content

Releases: lorentzenchr/model-diagnostics

v1.4.1

17 Feb 09:25
bbb8ef1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.4.1

v1.4.0

16 Feb 10:56
59eb311
Compare
Choose a tag to compare

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:
newplot

What's Changed

Full Changelog: v1.3.0...v1.4.0

v1.3.0

27 Nov 20:54
e8f07a2
Compare
Choose a tag to compare

Highlights

plot_marginal got a new argument show_lines and a helper function add_marginal_subplot to simplify subplots with plotly.
image

What's Changed

Full Changelog: v1.2.0...v1.3.0

v1.2.0

13 Aug 11:47
66f7877
Compare
Choose a tag to compare

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

What's Changed

Full Changelog: v1.1.1...v1.2.0

v1.1.1

19 Apr 13:49
6b143ff
Compare
Choose a tag to compare

This is a bugfix release.

What's Changed

Full Changelog: v1.1.0...v1.1.1

v1.1.0

29 Feb 17:53
615b131
Compare
Choose a tag to compare

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

Full Changelog: v1.0.5...v1.1.0

v1.0.5

26 Jan 22:20
606df4d
Compare
Choose a tag to compare

This is a bugfix release.

What's Changed

Full Changelog: v1.0.4...v1.0.5

v1.0.4

31 Dec 16:11
64a7f79
Compare
Choose a tag to compare

This is a bugfix release.

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

08 Dec 19:20
7bf8005
Compare
Choose a tag to compare

This is a bugfix release.

Highlights

  • New example for classification #121

What's Changed

New Contributors

Full Changelog: v1.0.2...v1.0.3

v1.0.2

15 Oct 16:32
0a04590
Compare
Choose a tag to compare

This is a bugfix release that increases the minimum polars version to 0.17.15.

What's Changed

Full Changelog: v1.0.1...v1.0.2