-
Notifications
You must be signed in to change notification settings - Fork 166
/
Copy path__init__.py
41 lines (36 loc) · 821 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
GAM toolkit
"""
from importlib.metadata import version, PackageNotFoundError
from pygam.pygam import GAM
from pygam.pygam import LinearGAM
from pygam.pygam import LogisticGAM
from pygam.pygam import GammaGAM
from pygam.pygam import PoissonGAM
from pygam.pygam import InvGaussGAM
from pygam.pygam import ExpectileGAM
from pygam.terms import l
from pygam.terms import s
from pygam.terms import f
from pygam.terms import te
from pygam.terms import intercept
__all__ = [
'GAM',
'LinearGAM',
'LogisticGAM',
'GammaGAM',
'PoissonGAM',
'InvGaussGAM',
'ExpectileGAM',
'l',
's',
'f',
'te',
'intercept',
]
__version__ = "0.0.0" # placeholder for dynamic versioning
try:
__version__ = version("pygam")
except PackageNotFoundError:
# package is not installed
pass