Skip to content

Releases: dswah/pyGAM

v0.5.3

28 Jun 14:26
Compare
Choose a tag to compare

Bug Fixes

  • datasets are loadable like:
from pygam.datasets load cake
X, y = cake(return_X_y=True)
  • better model initializations for complex models by using the solution to linear unpenalized problem. This makes the second order PIRLS optimizer less likely to diverge by overshooting the maximum likelihood estimate.
  • ReadMe call for collaboration, examples reference dataset loaders, fix typos

v0.5.2

22 Apr 10:17
678b8b8
Compare
Choose a tag to compare

Bug Fixes

  • bug fix in p-value for models with unknown variance. f-statistic was sensitive to estimated variance when it should be invariant.
  • typos

v0.5.1

06 Apr 06:31
83c235e
Compare
Choose a tag to compare

New Features:

  • p-values!
  • you can now see p-values in the model summary. each feature function will have a p-value, and a code describing it's level of significance.

image

Bug Fixes

  • improving documentation

v0.4.2

04 Apr 22:19
1891912
Compare
Choose a tag to compare

Bug Fixes

  • use scipy stats log-pdfs for computing log-likelihoods
  • disable progress bars in gridsearch setting progress=False
  • add verbosity attribute to GAMs to control warnings

v0.4.1

27 Mar 22:01
5724a3a
Compare
Choose a tag to compare

Bug Fixes:

  • alow for changing SVD shapes during PIRLS iterations due to changing mask shapes
  • change coefficient initialization to constant model
  • change GammaGAM and InvGaussGAM to use non-canonical log-links by default.

v0.4.0

22 Jan 17:31
14e5b15
Compare
Choose a tag to compare

New Features

  • all GAMs have a sample() method that samples:

    • response variables,
    • model coefficients,
    • and expected values from the posterior probability
      thanks to @cbrummitt !!! 🥇
  • all distributions have a sample(mu) method

Bug fixes

Improvements

  • fixes to documentation

v0.3.0

15 Sep 17:25
Compare
Choose a tag to compare

New Features:

  • GAMs accept weights in fitting, gridsearch, likelihood, statistics...
  • PoissonGAM accepts exposure

Changes

  • better handling of PIRLS weights
  • check for isfinite(...).all() in check_X, check_y

Bug Fixes

  • constant covariates won't break SVD