Skip to content

Releases: Quantco/glum

glum 3.0.0a0

17 Aug 19:04
Compare
Choose a tag to compare
glum 3.0.0a0 Pre-release
Pre-release

3.0.0a0 - 2023-08-17

Main change

  • Ensure glum's compatibility with the new major release of tabmat (version 4.0.0) by @MartinStancsicsQC

Note that glum 3 is not compatible with pre-4.0.0 versions of tabmat.

Full Changelog: 2.5.2...v3.0.0a0

glum 2.5.2

02 Jun 06:25
5206e34
Compare
Choose a tag to compare

2.5.2 - 2023-06-02

Bug fix

  • Fixed a bug in glum.GeneralizedLinearRegressor when fit on a data set with a constant column and warm_start=True. See #645.

Other changes:

  • We now pin llvm-openmp=11 when creating the wheel for macOS in line with scikit-learn. This should prevent segfaults on macOS with Intel architecture.
  • Fixed a bug in the glm_benchmarks_analyze command line tool. See #642.
  • Remove dev dependency on dask_ml.

glum 2.5.1

19 May 10:13
Compare
Choose a tag to compare

2.5.1 - 2023-05-19

Bug fix

  • We fixed a bug in the computation of glum.distribution.NegativeBinomialDistribution.log_likelihood. Previously, this method just returned None.

glum 2.5.0

28 Apr 13:21
14000ef
Compare
Choose a tag to compare

2.5.0 - 2023-04-28

New feature

  • We added support for the Negative Binomial distribution. To use it, set the 'family' parameter of GeneralizedLinearRegressor or glum.GeneralizedLinearRegressorCV to 'negative.binomial'.

glum 2.4.1

15 Mar 00:28
fc606df
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.4.0...2.4.1

glum 2.4.0

31 Jan 15:01
d5c4479
Compare
Choose a tag to compare

Other changes:

  • glum._link.LogitLink has been made public.
  • Apple Silicon wheels are now uploaded to PyPI.

glum 2.3.0

06 Jan 09:46
e281975
Compare
Choose a tag to compare

2.3.0 - 2023-01-06

Bug fix:

  • A data frame with dense and sparse columns was transformed to a dense matrix instead of a split matrix by glum.GeneralizedLinearRegressor._set_up_and_check_fit_args. Fixed by calling tabmat.from_pandas on any data frame input.

New features:

  • The following classes and functions have been made public:
    glum._distribution.BinomialDistribution, glum._distribution.ExponentialDispersionModel,
    glum._distribution.GammaDistribution, glum._distribution.GeneralizedHyperbolicSecant,
    glum._distribution.InverseGaussianDistribution, glum._distribution.NormalDistribution,
    glum._distribution.PoissonDistribution, glum._link.IdentityLink, glum._link.Link, glum._link.LogLink,
    glum._link.TweedieLink, glum._glm.get_family and glum._glm.get_link.
  • The distribution and link classes now feature a more lenient equality check instead of the default identity check, so that, e.g., TweedieDistribution(1) == TweedieDistribution(1) returns True.

Glum 2.2.1

25 Nov 20:56
212d952
Compare
Choose a tag to compare

Fixing the 2.2.0 failed release.

Glum 2.2.0

25 Nov 17:09
c90ff0a
Compare
Choose a tag to compare

2.2.0 - 2022-11-25

New features:

  • Add an argument to GeneralizedLinearRegressorBase to drop the first category in a Categorical column using implementation in tabmat
  • One may now request the Tweedie loss by setting the 'family' parameter of GeneralizedLinearRegressor and GeneralizedLinearRegressorCV to 'tweedie'.

Bug fixes:

  • Setting bounds for constant columns was not working (bounds were internally modified to 0). A similar issue was preventing inequalities from working with constant columns. This is now fixed.

Other changes:

  • No more builds for 32-bit systems with Python >= 3.8. This is due to scipy not supporting it anymore.

glum 2.1.2

01 Jul 18:48
e020152
Compare
Choose a tag to compare

2.1.2 - 2022-07-01

Other changes:

  • Next attempt to build wheel for PyPI without --march=native.