PyGAM Versions Save

[HELP REQUESTED] Generalized Additive Models in Python

v0.5.4

5 years ago

Bug Fixes

  • PoissonGAM no longer produces -inf log-likelihoods when using non-integer exposure.
  • PoissonGAM checks exposure, weight, and y array shapes before fitting.

v0.5.3

5 years ago

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

6 years ago

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

6 years ago

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

6 years ago

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

6 years ago

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

6 years ago

New Features

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

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

Bug fixes

Improvements

  • fixes to documentation

v0.3.0

6 years ago

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