Pygam

Latest version: v0.9.1

Safety actively analyzes 618874 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.9.1

New Behavior
- test and support python 3.8, 3.9, 3.10, 3.11, and 3.12

Bug Fixes
- use dynamic versioning to automatically set package version. fixes https://github.com/dswah/pyGAM/issues/339 https://github.com/dswah/pyGAM/issues/336

0.9.0

New Features
- move to Poetry for dependency management
- use flake8 + black for linting

Bug Fixes:
- use `int` instead of `np.int`

Breaking changes
- remove support for python 2

0.8.0

New Features

- **cyclic p-splines**: you can now train models with periodic features by using the `'cp'` basis like so:
python
GAM(s(0, basis='cp'))


- factor smooths now allow **dummy coding**, via:
python
GAM(f(0, coding='dummy'))

Models using this coding scheme are more statistically interpretable , and computationally less expensive than those using one-hot encodings.

Bug Fixes
- models can mix constrained terms and un-constrained tensor-terms
- tensor terms can be constrained

0.7.2

Bug Fixes
- Fix `not None` element existance judgement bug in `terms.py` thanks BeefOnionDumplings !
- Added a warning issued in summary indicating that there is likely a bug in the p-values

0.7.1

Bug Fixes
- fixed bug where `np.int64` did not count as integers.
the following no longer fails:

LinearGAM().gridsearch(X, y, n_splines=np.arange(5, 10)).summary()

0.7.0

New Features
- Documentation!!!

Bug Fixes
- removed WIP method `randomsearch`

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.