Skip to content

Commit b6989fd

Browse files
farhanreynaldotwiecki
authored andcommitted
Remove GLM submodule in v4 (#4682)
* remove GLM submodule and its test * add glm reference to Bambi * add GLM removal to release notes Co-authored-by: Farhan Reynaldo <[email protected]>
1 parent dbac33b commit b6989fd

File tree

12 files changed

+5
-928
lines changed

12 files changed

+5
-928
lines changed

.github/workflows/pytest.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ jobs:
5050
--ignore=pymc3/tests/test_special_functions.py
5151
--ignore=pymc3/tests/test_updates.py
5252
--ignore=pymc3/tests/test_examples.py
53-
--ignore=pymc3/tests/test_glm.py
54-
--ignore=pymc3/tests/test_glm_utils.py
55-
--ignore=pymc3/tests/test_glm_linear.py
5653
--ignore=pymc3/tests/test_gp.py
5754
--ignore=pymc3/tests/test_model.py
5855
--ignore=pymc3/tests/test_model_func.py
@@ -78,8 +75,6 @@ jobs:
7875
pymc3/tests/test_distributions.py
7976
pymc3/tests/test_distributions_random.py
8077
pymc3/tests/test_examples.py
81-
pymc3/tests/test_glm.py
82-
pymc3/tests/test_glm_utils.py
8378
pymc3/tests/test_gp.py
8479
pymc3/tests/test_model.py
8580
pymc3/tests/test_model_func.py

RELEASE-NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
### Breaking Changes
55
- ⚠ Theano-PyMC has been replaced with Aesara, so all external references to `theano`, `tt`, and `pymc3.theanof` need to be replaced with `aesara`, `at`, and `pymc3.aesaraf` (see [4471](https://github.com/pymc-devs/pymc3/pull/4471)).
66
- ArviZ `plots` and `stats` *wrappers* were removed. The functions are now just available by their original names (see [#4549](https://github.com/pymc-devs/pymc3/pull/4471) and `3.11.2` release notes).
7+
- The GLM submodule has been removed, please use [Bambi](https://bambinos.github.io/bambi/) instead.
78
- ...
89

910
### New Features

docs/source/api/glm.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ Generalized Linear Models
44

55
.. currentmodule:: pymc3.glm.linear
66

7-
.. automodule:: pymc3.glm.linear
8-
:members:
7+
Generalized Linear Models are delegated to the
8+
`Bambi <https://bambinos.github.io/bambi>`_.
9+
library, a high-level Bayesian model-building
10+
interface built on top of the PyMC3.

pymc3/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def __set_compiler_flags():
5252
from pymc3.distributions import *
5353
from pymc3.distributions import transforms
5454
from pymc3.exceptions import *
55-
from pymc3.glm import *
5655
from pymc3.math import (
5756
expand_packed_triangular,
5857
invlogit,

pymc3/glm/__init__.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

pymc3/glm/families.py

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)