dfm-python 0.5.3__py3-none-any.whl → 0.5.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dfm_python/__init__.py +5 -5
- dfm_python/config/__init__.py +2 -4
- dfm_python/config/adapter.py +131 -474
- dfm_python/config/results.py +3 -6
- dfm_python/config/schema.py +504 -439
- dfm_python/config/utils.py +21 -9
- dfm_python/encoder/vae.py +0 -121
- dfm_python/models/base.py +199 -145
- dfm_python/models/ddfm.py +65 -77
- dfm_python/models/dfm.py +311 -362
- dfm_python/models/mcmc.py +15 -9
- dfm_python/ssm/em.py +910 -581
- dfm_python/ssm/kalman.py +468 -265
- dfm_python/ssm/utils.py +166 -139
- {dfm_python-0.5.3.dist-info → dfm_python-0.5.4.dist-info}/METADATA +97 -3
- {dfm_python-0.5.3.dist-info → dfm_python-0.5.4.dist-info}/RECORD +18 -18
- {dfm_python-0.5.3.dist-info → dfm_python-0.5.4.dist-info}/WHEEL +0 -0
- {dfm_python-0.5.3.dist-info → dfm_python-0.5.4.dist-info}/licenses/LICENSE +0 -0
dfm_python/__init__.py
CHANGED
|
@@ -65,7 +65,7 @@ Note: DFMConfig and SeriesConfig are internal implementation details.
|
|
|
65
65
|
For detailed documentation, see the README.md file and the tutorial notebooks/scripts.
|
|
66
66
|
"""
|
|
67
67
|
|
|
68
|
-
__version__ = "0.5.
|
|
68
|
+
__version__ = "0.5.4"
|
|
69
69
|
|
|
70
70
|
# ============================================================================
|
|
71
71
|
# PUBLIC API DEFINITION
|
|
@@ -85,8 +85,8 @@ __version__ = "0.5.2"
|
|
|
85
85
|
# Configuration (from config/ subpackage)
|
|
86
86
|
from .config import (
|
|
87
87
|
DEFAULT_BLOCK_NAME,
|
|
88
|
-
ConfigSource, YamlSource,
|
|
89
|
-
|
|
88
|
+
ConfigSource, YamlSource, HydraSource,
|
|
89
|
+
make_config_source,
|
|
90
90
|
)
|
|
91
91
|
# Internal imports (for backward compatibility, but not recommended)
|
|
92
92
|
from .config import DFMConfig, SeriesConfig # Internal use only
|
|
@@ -122,8 +122,8 @@ __all__ = [
|
|
|
122
122
|
# Constants
|
|
123
123
|
'DEFAULT_BLOCK_NAME',
|
|
124
124
|
# Config sources
|
|
125
|
-
'ConfigSource', 'YamlSource', '
|
|
126
|
-
'
|
|
125
|
+
'ConfigSource', 'YamlSource', 'HydraSource',
|
|
126
|
+
'make_config_source',
|
|
127
127
|
# Low-level API (functional interface - advanced usage)
|
|
128
128
|
'BaseResult', 'DFMResult', 'DDFMResult', 'calculate_rmse', 'diagnose_series', 'print_series_diagnosis',
|
|
129
129
|
]
|
dfm_python/config/__init__.py
CHANGED
|
@@ -14,9 +14,7 @@ from .utils import validate_frequency, validate_transformation
|
|
|
14
14
|
from .adapter import (
|
|
15
15
|
ConfigSource,
|
|
16
16
|
YamlSource,
|
|
17
|
-
DictSource,
|
|
18
17
|
HydraSource,
|
|
19
|
-
MergedConfigSource,
|
|
20
18
|
make_config_source,
|
|
21
19
|
)
|
|
22
20
|
from .utils import (
|
|
@@ -43,8 +41,8 @@ __all__ = [
|
|
|
43
41
|
# Utilities
|
|
44
42
|
'validate_frequency', 'validate_transformation',
|
|
45
43
|
# IO
|
|
46
|
-
'ConfigSource', 'YamlSource',
|
|
47
|
-
'HydraSource', '
|
|
44
|
+
'ConfigSource', 'YamlSource',
|
|
45
|
+
'HydraSource', 'make_config_source',
|
|
48
46
|
# Frequency and aggregation utilities
|
|
49
47
|
'FREQUENCY_HIERARCHY',
|
|
50
48
|
'PERIODS_PER_YEAR',
|