Skip to content

Commit c0c4931

Browse files
committed
Expose distributions at root level of pymc_experimental
Also `marginalize`
1 parent 9f0f76d commit c0c4931

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

pymc_experimental/__init__.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
# limitations under the License.
1414
import logging
1515

16-
from pymc_experimental import distributions, gp, statespace, utils
16+
from pymc_experimental import gp, statespace, utils
17+
from pymc_experimental.distributions import *
1718
from pymc_experimental.inference.fit import fit
1819
from pymc_experimental.model.marginal_model import MarginalModel
1920
from pymc_experimental.model.model_api import as_model
@@ -26,15 +27,3 @@
2627
if len(_log.handlers) == 0:
2728
handler = logging.StreamHandler()
2829
_log.addHandler(handler)
29-
30-
31-
__all__ = [
32-
"distributions",
33-
"gp",
34-
"statespace",
35-
"utils",
36-
"fit",
37-
"MarginalModel",
38-
"as_model",
39-
"__version__",
40-
]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ lines-between-types = 1
7676
'F401', # Unused import warning for test files -- this check removes imports of fixtures
7777
'F811' # Redefine while unused -- this check fails on imported fixtures
7878
]
79+
'pymc_experimental/__init__.py' = ['F401', 'F403']

0 commit comments

Comments
 (0)