#426426th of 433 in ML frameworks and libraries
pygam
Generalized Additive Models in Python with a scikit-learn-style API
Watch puts pygam on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.pygam is on your watch list. Its new releases and problems show there.
- Stars
- 1k
- License
- Apache-2.0
- Last commit
- Jan 2026
- Last release
- Dec 2025
- Language
- Python
995 on 8 May 20261,025 on 27 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
pyGAM fits Generalized Additive Models, where each feature gets a smooth function built from penalized B-splines and a link function relates the sum to the target. The API follows scikit-learn and scipy conventions. It runs on CPU using linear algebra routines, and Intel MKL can speed up large constrained models.
Who it is for: Data scientists wanting interpretable non-linear models in Python
Strengths
- Per-feature effects can be inspected separately, giving interpretable non-linear models
- Penalized B-splines model non-linear relationships without manual feature transforms
- scikit-learn-style API; installs with pip or conda-forge
- Distributions and link functions live in separate modules, so new ones can be added
Weaknesses
- Acceleration needs Numpy linked to MKL, which is tricky to install with Conda
- Pip's Numpy-MKL is outdated; a third-party build is the suggested workaround
- Feature functions are penalized B-splines; other smoother types are not documented in the README
- Tabular statistical modeling only; no LLM or deep learning features
What it needs
- no GPU
- Needs numpy, scipy, Intel MKL (optional)
- Models: Generalized Additive Models, penalized B-splines
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #424 | pyldavisInteractive visualization of fitted LDA topic models in Python notebooks | 12 out of 100 |
| #425 | pfrlPyTorch library of deep RL algorithms such as DQN, PPO, SAC and TD3 | 11 out of 100 |
| #427 | sumo-rlGymnasium and PettingZoo environments for RL traffic signal control in SUMO | 9 out of 100 |
| #428 | xaiPython library for data imbalance and model bias analysis in tabular ML | 8 out of 100 |
| #429 | torchviewGraphviz visualizations of PyTorch model graphs with tensor shapes | 8 out of 100 |