arviz 0.23.1__py3-none-any.whl → 1.0.0rc0__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.
- arviz/__init__.py +52 -357
- arviz-1.0.0rc0.dist-info/METADATA +182 -0
- arviz-1.0.0rc0.dist-info/RECORD +5 -0
- {arviz-0.23.1.dist-info → arviz-1.0.0rc0.dist-info}/WHEEL +1 -2
- {arviz-0.23.1.dist-info → arviz-1.0.0rc0.dist-info}/licenses/LICENSE +0 -1
- arviz/data/__init__.py +0 -55
- arviz/data/base.py +0 -596
- arviz/data/converters.py +0 -203
- arviz/data/datasets.py +0 -161
- arviz/data/example_data/code/radon/radon.json +0 -326
- arviz/data/example_data/data/centered_eight.nc +0 -0
- arviz/data/example_data/data/non_centered_eight.nc +0 -0
- arviz/data/example_data/data_local.json +0 -12
- arviz/data/example_data/data_remote.json +0 -58
- arviz/data/inference_data.py +0 -2386
- arviz/data/io_beanmachine.py +0 -112
- arviz/data/io_cmdstan.py +0 -1036
- arviz/data/io_cmdstanpy.py +0 -1233
- arviz/data/io_datatree.py +0 -23
- arviz/data/io_dict.py +0 -462
- arviz/data/io_emcee.py +0 -317
- arviz/data/io_json.py +0 -54
- arviz/data/io_netcdf.py +0 -68
- arviz/data/io_numpyro.py +0 -497
- arviz/data/io_pyjags.py +0 -378
- arviz/data/io_pyro.py +0 -333
- arviz/data/io_pystan.py +0 -1095
- arviz/data/io_zarr.py +0 -46
- arviz/data/utils.py +0 -139
- arviz/labels.py +0 -210
- arviz/plots/__init__.py +0 -61
- arviz/plots/autocorrplot.py +0 -171
- arviz/plots/backends/__init__.py +0 -223
- arviz/plots/backends/bokeh/__init__.py +0 -166
- arviz/plots/backends/bokeh/autocorrplot.py +0 -101
- arviz/plots/backends/bokeh/bfplot.py +0 -23
- arviz/plots/backends/bokeh/bpvplot.py +0 -193
- arviz/plots/backends/bokeh/compareplot.py +0 -167
- arviz/plots/backends/bokeh/densityplot.py +0 -239
- arviz/plots/backends/bokeh/distcomparisonplot.py +0 -23
- arviz/plots/backends/bokeh/distplot.py +0 -183
- arviz/plots/backends/bokeh/dotplot.py +0 -113
- arviz/plots/backends/bokeh/ecdfplot.py +0 -73
- arviz/plots/backends/bokeh/elpdplot.py +0 -203
- arviz/plots/backends/bokeh/energyplot.py +0 -155
- arviz/plots/backends/bokeh/essplot.py +0 -176
- arviz/plots/backends/bokeh/forestplot.py +0 -772
- arviz/plots/backends/bokeh/hdiplot.py +0 -54
- arviz/plots/backends/bokeh/kdeplot.py +0 -268
- arviz/plots/backends/bokeh/khatplot.py +0 -163
- arviz/plots/backends/bokeh/lmplot.py +0 -185
- arviz/plots/backends/bokeh/loopitplot.py +0 -211
- arviz/plots/backends/bokeh/mcseplot.py +0 -184
- arviz/plots/backends/bokeh/pairplot.py +0 -328
- arviz/plots/backends/bokeh/parallelplot.py +0 -81
- arviz/plots/backends/bokeh/posteriorplot.py +0 -324
- arviz/plots/backends/bokeh/ppcplot.py +0 -379
- arviz/plots/backends/bokeh/rankplot.py +0 -149
- arviz/plots/backends/bokeh/separationplot.py +0 -107
- arviz/plots/backends/bokeh/traceplot.py +0 -436
- arviz/plots/backends/bokeh/violinplot.py +0 -164
- arviz/plots/backends/matplotlib/__init__.py +0 -124
- arviz/plots/backends/matplotlib/autocorrplot.py +0 -72
- arviz/plots/backends/matplotlib/bfplot.py +0 -78
- arviz/plots/backends/matplotlib/bpvplot.py +0 -177
- arviz/plots/backends/matplotlib/compareplot.py +0 -135
- arviz/plots/backends/matplotlib/densityplot.py +0 -194
- arviz/plots/backends/matplotlib/distcomparisonplot.py +0 -119
- arviz/plots/backends/matplotlib/distplot.py +0 -178
- arviz/plots/backends/matplotlib/dotplot.py +0 -116
- arviz/plots/backends/matplotlib/ecdfplot.py +0 -70
- arviz/plots/backends/matplotlib/elpdplot.py +0 -189
- arviz/plots/backends/matplotlib/energyplot.py +0 -113
- arviz/plots/backends/matplotlib/essplot.py +0 -180
- arviz/plots/backends/matplotlib/forestplot.py +0 -656
- arviz/plots/backends/matplotlib/hdiplot.py +0 -48
- arviz/plots/backends/matplotlib/kdeplot.py +0 -177
- arviz/plots/backends/matplotlib/khatplot.py +0 -241
- arviz/plots/backends/matplotlib/lmplot.py +0 -149
- arviz/plots/backends/matplotlib/loopitplot.py +0 -144
- arviz/plots/backends/matplotlib/mcseplot.py +0 -161
- arviz/plots/backends/matplotlib/pairplot.py +0 -355
- arviz/plots/backends/matplotlib/parallelplot.py +0 -58
- arviz/plots/backends/matplotlib/posteriorplot.py +0 -348
- arviz/plots/backends/matplotlib/ppcplot.py +0 -478
- arviz/plots/backends/matplotlib/rankplot.py +0 -119
- arviz/plots/backends/matplotlib/separationplot.py +0 -97
- arviz/plots/backends/matplotlib/traceplot.py +0 -526
- arviz/plots/backends/matplotlib/tsplot.py +0 -121
- arviz/plots/backends/matplotlib/violinplot.py +0 -148
- arviz/plots/bfplot.py +0 -128
- arviz/plots/bpvplot.py +0 -308
- arviz/plots/compareplot.py +0 -177
- arviz/plots/densityplot.py +0 -284
- arviz/plots/distcomparisonplot.py +0 -197
- arviz/plots/distplot.py +0 -233
- arviz/plots/dotplot.py +0 -233
- arviz/plots/ecdfplot.py +0 -372
- arviz/plots/elpdplot.py +0 -174
- arviz/plots/energyplot.py +0 -147
- arviz/plots/essplot.py +0 -319
- arviz/plots/forestplot.py +0 -304
- arviz/plots/hdiplot.py +0 -211
- arviz/plots/kdeplot.py +0 -357
- arviz/plots/khatplot.py +0 -236
- arviz/plots/lmplot.py +0 -380
- arviz/plots/loopitplot.py +0 -224
- arviz/plots/mcseplot.py +0 -194
- arviz/plots/pairplot.py +0 -281
- arviz/plots/parallelplot.py +0 -204
- arviz/plots/plot_utils.py +0 -599
- arviz/plots/posteriorplot.py +0 -298
- arviz/plots/ppcplot.py +0 -369
- arviz/plots/rankplot.py +0 -232
- arviz/plots/separationplot.py +0 -167
- arviz/plots/styles/arviz-bluish.mplstyle +0 -1
- arviz/plots/styles/arviz-brownish.mplstyle +0 -1
- arviz/plots/styles/arviz-colors.mplstyle +0 -2
- arviz/plots/styles/arviz-cyanish.mplstyle +0 -1
- arviz/plots/styles/arviz-darkgrid.mplstyle +0 -40
- arviz/plots/styles/arviz-doc.mplstyle +0 -88
- arviz/plots/styles/arviz-docgrid.mplstyle +0 -88
- arviz/plots/styles/arviz-grayscale.mplstyle +0 -41
- arviz/plots/styles/arviz-greenish.mplstyle +0 -1
- arviz/plots/styles/arviz-orangish.mplstyle +0 -1
- arviz/plots/styles/arviz-plasmish.mplstyle +0 -1
- arviz/plots/styles/arviz-purplish.mplstyle +0 -1
- arviz/plots/styles/arviz-redish.mplstyle +0 -1
- arviz/plots/styles/arviz-royish.mplstyle +0 -1
- arviz/plots/styles/arviz-viridish.mplstyle +0 -1
- arviz/plots/styles/arviz-white.mplstyle +0 -40
- arviz/plots/styles/arviz-whitegrid.mplstyle +0 -40
- arviz/plots/traceplot.py +0 -273
- arviz/plots/tsplot.py +0 -440
- arviz/plots/violinplot.py +0 -192
- arviz/preview.py +0 -58
- arviz/py.typed +0 -0
- arviz/rcparams.py +0 -606
- arviz/sel_utils.py +0 -223
- arviz/static/css/style.css +0 -340
- arviz/static/html/icons-svg-inline.html +0 -15
- arviz/stats/__init__.py +0 -37
- arviz/stats/density_utils.py +0 -1013
- arviz/stats/diagnostics.py +0 -1013
- arviz/stats/ecdf_utils.py +0 -324
- arviz/stats/stats.py +0 -2422
- arviz/stats/stats_refitting.py +0 -119
- arviz/stats/stats_utils.py +0 -609
- arviz/tests/__init__.py +0 -1
- arviz/tests/base_tests/__init__.py +0 -1
- arviz/tests/base_tests/test_data.py +0 -1679
- arviz/tests/base_tests/test_data_zarr.py +0 -143
- arviz/tests/base_tests/test_diagnostics.py +0 -511
- arviz/tests/base_tests/test_diagnostics_numba.py +0 -87
- arviz/tests/base_tests/test_helpers.py +0 -18
- arviz/tests/base_tests/test_labels.py +0 -69
- arviz/tests/base_tests/test_plot_utils.py +0 -342
- arviz/tests/base_tests/test_plots_bokeh.py +0 -1288
- arviz/tests/base_tests/test_plots_matplotlib.py +0 -2197
- arviz/tests/base_tests/test_rcparams.py +0 -317
- arviz/tests/base_tests/test_stats.py +0 -925
- arviz/tests/base_tests/test_stats_ecdf_utils.py +0 -166
- arviz/tests/base_tests/test_stats_numba.py +0 -45
- arviz/tests/base_tests/test_stats_utils.py +0 -384
- arviz/tests/base_tests/test_utils.py +0 -376
- arviz/tests/base_tests/test_utils_numba.py +0 -87
- arviz/tests/conftest.py +0 -46
- arviz/tests/external_tests/__init__.py +0 -1
- arviz/tests/external_tests/test_data_beanmachine.py +0 -78
- arviz/tests/external_tests/test_data_cmdstan.py +0 -398
- arviz/tests/external_tests/test_data_cmdstanpy.py +0 -496
- arviz/tests/external_tests/test_data_emcee.py +0 -166
- arviz/tests/external_tests/test_data_numpyro.py +0 -434
- arviz/tests/external_tests/test_data_pyjags.py +0 -119
- arviz/tests/external_tests/test_data_pyro.py +0 -260
- arviz/tests/external_tests/test_data_pystan.py +0 -307
- arviz/tests/helpers.py +0 -677
- arviz/utils.py +0 -773
- arviz/wrappers/__init__.py +0 -13
- arviz/wrappers/base.py +0 -236
- arviz/wrappers/wrap_pymc.py +0 -36
- arviz/wrappers/wrap_stan.py +0 -148
- arviz-0.23.1.dist-info/METADATA +0 -263
- arviz-0.23.1.dist-info/RECORD +0 -183
- arviz-0.23.1.dist-info/top_level.txt +0 -1
arviz/__init__.py
CHANGED
|
@@ -1,376 +1,71 @@
|
|
|
1
|
-
# pylint: disable=
|
|
2
|
-
"""
|
|
3
|
-
__version__ = "0.23.1"
|
|
1
|
+
# pylint: disable=unused-import,unused-wildcard-import,wildcard-import,invalid-name
|
|
2
|
+
"""Expose features from _ArviZverse_ refactored packages together in the ``arviz`` namespace."""
|
|
4
3
|
|
|
5
4
|
import logging
|
|
6
|
-
import os
|
|
7
5
|
import re
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
from matplotlib.pyplot import style
|
|
11
|
-
import matplotlib as mpl
|
|
12
|
-
from packaging import version
|
|
7
|
+
_log = logging.getLogger(__name__)
|
|
13
8
|
|
|
9
|
+
info = ""
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
from
|
|
17
|
-
|
|
18
|
-
# skip warning if all 3 arviz subpackages are already installed
|
|
19
|
-
pat = re.compile(r"arviz_(base|stats|plots) available")
|
|
20
|
-
if len(pat.findall(info)) == 3:
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
import datetime
|
|
24
|
-
from warnings import warn
|
|
25
|
-
from pathlib import Path
|
|
26
|
-
|
|
27
|
-
warning_dir = Path.home() / "arviz_data"
|
|
28
|
-
warning_dir.mkdir(exist_ok=True)
|
|
29
|
-
|
|
30
|
-
stamp_file = warning_dir / "daily_warning"
|
|
31
|
-
today = datetime.date.today()
|
|
32
|
-
|
|
33
|
-
if stamp_file.exists():
|
|
34
|
-
last_date = datetime.date.fromisoformat(stamp_file.read_text().strip())
|
|
35
|
-
else:
|
|
36
|
-
last_date = None
|
|
37
|
-
|
|
38
|
-
if last_date != today:
|
|
39
|
-
warn(
|
|
40
|
-
"\nArviZ is undergoing a major refactor to improve flexibility and extensibility "
|
|
41
|
-
"while maintaining a user-friendly interface."
|
|
42
|
-
"\nSome upcoming changes may be backward incompatible."
|
|
43
|
-
"\nFor details and migration guidance, visit: "
|
|
44
|
-
"https://python.arviz.org/en/latest/user_guide/migration_guide.html",
|
|
45
|
-
FutureWarning,
|
|
46
|
-
)
|
|
47
|
-
|
|
48
|
-
stamp_file.write_text(today.isoformat())
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
_warn_once_per_day()
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
class Logger(logging.Logger):
|
|
55
|
-
"""Override Logger to avoid repeated messages."""
|
|
56
|
-
|
|
57
|
-
def __init__(self, name, level=logging.NOTSET):
|
|
58
|
-
super().__init__(name=name, level=level)
|
|
59
|
-
self.cache = []
|
|
60
|
-
|
|
61
|
-
def _log(
|
|
62
|
-
self, level, msg, *args, **kwargs
|
|
63
|
-
): # pylint: disable=signature-differs, arguments-differ
|
|
64
|
-
msg_hash = hash(msg)
|
|
65
|
-
if msg_hash in self.cache:
|
|
66
|
-
return
|
|
67
|
-
self.cache.append(msg_hash)
|
|
68
|
-
super()._log(level, msg, *args, **kwargs)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
_log = Logger("arviz")
|
|
72
|
-
|
|
11
|
+
try:
|
|
12
|
+
from arviz_base import *
|
|
13
|
+
import arviz_base as base
|
|
73
14
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
15
|
+
_status = (
|
|
16
|
+
f"arviz_base {base.__version__} available, "
|
|
17
|
+
"exposing its functions as part of the `arviz` namespace"
|
|
18
|
+
)
|
|
19
|
+
_log.info(_status)
|
|
20
|
+
del base
|
|
21
|
+
except ModuleNotFoundError as err:
|
|
22
|
+
raise ImportError("arviz's dependency arviz_base is not installed", name="arviz") from err
|
|
82
23
|
|
|
83
|
-
|
|
84
|
-
_arviz_style_path = os.path.join(os.path.dirname(__file__), "plots", "styles")
|
|
85
|
-
if version.parse(mpl.__version__) >= version.parse("3.11.0.dev0"):
|
|
86
|
-
style.USER_LIBRARY_PATHS.append(_arviz_style_path)
|
|
87
|
-
style.reload_library()
|
|
88
|
-
else:
|
|
89
|
-
style.core.USER_LIBRARY_PATHS.append(_arviz_style_path)
|
|
90
|
-
style.core.reload_library()
|
|
24
|
+
info += _status + "\n"
|
|
91
25
|
|
|
26
|
+
try:
|
|
27
|
+
from arviz_stats import *
|
|
28
|
+
import arviz_stats as stats
|
|
92
29
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
_log.
|
|
30
|
+
# TODO: remove patch. 0.7 version of arviz-stats didn't expose the __version__ attribute
|
|
31
|
+
_status = (
|
|
32
|
+
f"arviz_stats {getattr(stats, '__version__', '0.7.0')} available, "
|
|
33
|
+
"exposing its functions as part of the `arviz` namespace"
|
|
34
|
+
)
|
|
35
|
+
_log.info(_status)
|
|
36
|
+
del stats
|
|
37
|
+
except ModuleNotFoundError as err:
|
|
38
|
+
raise ImportError("arviz's dependency arviz_stats is not installed", name="arviz") from err
|
|
99
39
|
|
|
40
|
+
info += _status + "\n"
|
|
100
41
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
[0.11032, 0.11035, 0.11035],
|
|
105
|
-
[0.11295, 0.11298, 0.11297],
|
|
106
|
-
[0.11554, 0.11558, 0.11557],
|
|
107
|
-
[0.1182, 0.11824, 0.11823],
|
|
108
|
-
[0.12079, 0.12083, 0.12082],
|
|
109
|
-
[0.12344, 0.12348, 0.12347],
|
|
110
|
-
[0.12615, 0.12618, 0.12618],
|
|
111
|
-
[0.12879, 0.12882, 0.12881],
|
|
112
|
-
[0.13149, 0.13152, 0.13151],
|
|
113
|
-
[0.13418, 0.13421, 0.1342],
|
|
114
|
-
[0.13684, 0.13688, 0.13687],
|
|
115
|
-
[0.13951, 0.13955, 0.13954],
|
|
116
|
-
[0.14226, 0.1423, 0.14229],
|
|
117
|
-
[0.14499, 0.14503, 0.14502],
|
|
118
|
-
[0.1477, 0.14774, 0.14773],
|
|
119
|
-
[0.15042, 0.15046, 0.15045],
|
|
120
|
-
[0.15313, 0.15317, 0.15316],
|
|
121
|
-
[0.15591, 0.15595, 0.15594],
|
|
122
|
-
[0.15866, 0.1587, 0.15869],
|
|
123
|
-
[0.16142, 0.16147, 0.16145],
|
|
124
|
-
[0.16418, 0.16423, 0.16422],
|
|
125
|
-
[0.16695, 0.16699, 0.16698],
|
|
126
|
-
[0.16973, 0.16977, 0.16976],
|
|
127
|
-
[0.17248, 0.17253, 0.17252],
|
|
128
|
-
[0.17529, 0.17533, 0.17532],
|
|
129
|
-
[0.17811, 0.17815, 0.17814],
|
|
130
|
-
[0.18087, 0.18092, 0.1809],
|
|
131
|
-
[0.18369, 0.18374, 0.18372],
|
|
132
|
-
[0.18652, 0.18656, 0.18655],
|
|
133
|
-
[0.18934, 0.18939, 0.18938],
|
|
134
|
-
[0.19217, 0.19221, 0.1922],
|
|
135
|
-
[0.19502, 0.19506, 0.19505],
|
|
136
|
-
[0.19785, 0.1979, 0.19788],
|
|
137
|
-
[0.20068, 0.20073, 0.20072],
|
|
138
|
-
[0.20357, 0.20362, 0.20361],
|
|
139
|
-
[0.20645, 0.2065, 0.20649],
|
|
140
|
-
[0.20929, 0.20934, 0.20933],
|
|
141
|
-
[0.21219, 0.21224, 0.21222],
|
|
142
|
-
[0.21504, 0.21509, 0.21508],
|
|
143
|
-
[0.21795, 0.218, 0.21799],
|
|
144
|
-
[0.22086, 0.22091, 0.2209],
|
|
145
|
-
[0.22374, 0.22379, 0.22377],
|
|
146
|
-
[0.22666, 0.22671, 0.22669],
|
|
147
|
-
[0.22954, 0.2296, 0.22958],
|
|
148
|
-
[0.23248, 0.23253, 0.23252],
|
|
149
|
-
[0.23542, 0.23547, 0.23546],
|
|
150
|
-
[0.23832, 0.23838, 0.23836],
|
|
151
|
-
[0.24127, 0.24133, 0.24131],
|
|
152
|
-
[0.24419, 0.24425, 0.24424],
|
|
153
|
-
[0.24716, 0.24722, 0.2472],
|
|
154
|
-
[0.25009, 0.25015, 0.25014],
|
|
155
|
-
[0.25308, 0.25313, 0.25312],
|
|
156
|
-
[0.25603, 0.25608, 0.25607],
|
|
157
|
-
[0.25902, 0.25908, 0.25906],
|
|
158
|
-
[0.26198, 0.26204, 0.26203],
|
|
159
|
-
[0.26496, 0.26502, 0.265],
|
|
160
|
-
[0.26794, 0.268, 0.26798],
|
|
161
|
-
[0.27095, 0.27101, 0.271],
|
|
162
|
-
[0.27395, 0.27401, 0.274],
|
|
163
|
-
[0.27695, 0.27702, 0.277],
|
|
164
|
-
[0.27996, 0.28002, 0.28],
|
|
165
|
-
[0.28298, 0.28304, 0.28303],
|
|
166
|
-
[0.28598, 0.28604, 0.28603],
|
|
167
|
-
[0.28902, 0.28909, 0.28907],
|
|
168
|
-
[0.29205, 0.29212, 0.2921],
|
|
169
|
-
[0.29508, 0.29514, 0.29513],
|
|
170
|
-
[0.29812, 0.29818, 0.29817],
|
|
171
|
-
[0.30116, 0.30123, 0.30121],
|
|
172
|
-
[0.30422, 0.30429, 0.30427],
|
|
173
|
-
[0.30728, 0.30734, 0.30733],
|
|
174
|
-
[0.31036, 0.31043, 0.31041],
|
|
175
|
-
[0.31342, 0.31349, 0.31347],
|
|
176
|
-
[0.31649, 0.31656, 0.31654],
|
|
177
|
-
[0.31957, 0.31964, 0.31962],
|
|
178
|
-
[0.32266, 0.32273, 0.32271],
|
|
179
|
-
[0.32572, 0.3258, 0.32578],
|
|
180
|
-
[0.32883, 0.32891, 0.32889],
|
|
181
|
-
[0.33193, 0.332, 0.33198],
|
|
182
|
-
[0.33504, 0.33512, 0.3351],
|
|
183
|
-
[0.33813, 0.3382, 0.33818],
|
|
184
|
-
[0.34125, 0.34133, 0.34131],
|
|
185
|
-
[0.34436, 0.34444, 0.34442],
|
|
186
|
-
[0.3475, 0.34757, 0.34755],
|
|
187
|
-
[0.35063, 0.3507, 0.35068],
|
|
188
|
-
[0.35374, 0.35382, 0.3538],
|
|
189
|
-
[0.35689, 0.35697, 0.35695],
|
|
190
|
-
[0.36002, 0.3601, 0.36008],
|
|
191
|
-
[0.36317, 0.36325, 0.36323],
|
|
192
|
-
[0.36633, 0.36641, 0.36639],
|
|
193
|
-
[0.36948, 0.36956, 0.36954],
|
|
194
|
-
[0.37263, 0.37272, 0.3727],
|
|
195
|
-
[0.3758, 0.37589, 0.37587],
|
|
196
|
-
[0.37897, 0.37906, 0.37904],
|
|
197
|
-
[0.38214, 0.38223, 0.38221],
|
|
198
|
-
[0.38532, 0.3854, 0.38538],
|
|
199
|
-
[0.38852, 0.3886, 0.38858],
|
|
200
|
-
[0.3917, 0.39179, 0.39177],
|
|
201
|
-
[0.39489, 0.39498, 0.39496],
|
|
202
|
-
[0.3981, 0.39818, 0.39816],
|
|
203
|
-
[0.4013, 0.40138, 0.40136],
|
|
204
|
-
[0.40449, 0.40458, 0.40456],
|
|
205
|
-
[0.40771, 0.4078, 0.40778],
|
|
206
|
-
[0.41093, 0.41102, 0.411],
|
|
207
|
-
[0.41415, 0.41423, 0.41421],
|
|
208
|
-
[0.41738, 0.41747, 0.41744],
|
|
209
|
-
[0.4206, 0.42068, 0.42066],
|
|
210
|
-
[0.42383, 0.42392, 0.4239],
|
|
211
|
-
[0.42708, 0.42717, 0.42715],
|
|
212
|
-
[0.43031, 0.43041, 0.43038],
|
|
213
|
-
[0.43355, 0.43364, 0.43362],
|
|
214
|
-
[0.43681, 0.43691, 0.43688],
|
|
215
|
-
[0.44007, 0.44016, 0.44014],
|
|
216
|
-
[0.44333, 0.44342, 0.4434],
|
|
217
|
-
[0.44659, 0.44668, 0.44666],
|
|
218
|
-
[0.44986, 0.44995, 0.44993],
|
|
219
|
-
[0.45313, 0.45322, 0.4532],
|
|
220
|
-
[0.4564, 0.4565, 0.45647],
|
|
221
|
-
[0.45968, 0.45978, 0.45976],
|
|
222
|
-
[0.46296, 0.46306, 0.46303],
|
|
223
|
-
[0.46625, 0.46635, 0.46633],
|
|
224
|
-
[0.46956, 0.46966, 0.46963],
|
|
225
|
-
[0.47284, 0.47294, 0.47292],
|
|
226
|
-
[0.47615, 0.47625, 0.47623],
|
|
227
|
-
[0.47946, 0.47956, 0.47953],
|
|
228
|
-
[0.48276, 0.48286, 0.48284],
|
|
229
|
-
[0.48607, 0.48618, 0.48615],
|
|
230
|
-
[0.48939, 0.48949, 0.48947],
|
|
231
|
-
[0.49271, 0.49281, 0.49279],
|
|
232
|
-
[0.49603, 0.49614, 0.49611],
|
|
233
|
-
[0.49936, 0.49947, 0.49944],
|
|
234
|
-
[0.5027, 0.5028, 0.50278],
|
|
235
|
-
[0.50603, 0.50614, 0.50612],
|
|
236
|
-
[0.50938, 0.50949, 0.50946],
|
|
237
|
-
[0.51273, 0.51284, 0.51281],
|
|
238
|
-
[0.51607, 0.51618, 0.51615],
|
|
239
|
-
[0.51943, 0.51954, 0.51951],
|
|
240
|
-
[0.52279, 0.5229, 0.52287],
|
|
241
|
-
[0.52615, 0.52626, 0.52624],
|
|
242
|
-
[0.52952, 0.52963, 0.5296],
|
|
243
|
-
[0.53289, 0.533, 0.53297],
|
|
244
|
-
[0.53626, 0.53637, 0.53634],
|
|
245
|
-
[0.53963, 0.53974, 0.53971],
|
|
246
|
-
[0.54302, 0.54313, 0.5431],
|
|
247
|
-
[0.54641, 0.54652, 0.54649],
|
|
248
|
-
[0.54979, 0.5499, 0.54987],
|
|
249
|
-
[0.55317, 0.55329, 0.55326],
|
|
250
|
-
[0.55657, 0.55669, 0.55666],
|
|
251
|
-
[0.55998, 0.56009, 0.56007],
|
|
252
|
-
[0.56338, 0.5635, 0.56347],
|
|
253
|
-
[0.56679, 0.56691, 0.56688],
|
|
254
|
-
[0.57019, 0.57031, 0.57028],
|
|
255
|
-
[0.57361, 0.57373, 0.5737],
|
|
256
|
-
[0.57703, 0.57715, 0.57712],
|
|
257
|
-
[0.58045, 0.58057, 0.58054],
|
|
258
|
-
[0.58387, 0.58399, 0.58396],
|
|
259
|
-
[0.5873, 0.58742, 0.58739],
|
|
260
|
-
[0.59073, 0.59086, 0.59083],
|
|
261
|
-
[0.59417, 0.5943, 0.59427],
|
|
262
|
-
[0.59761, 0.59774, 0.59771],
|
|
263
|
-
[0.60106, 0.60118, 0.60115],
|
|
264
|
-
[0.60451, 0.60463, 0.6046],
|
|
265
|
-
[0.60796, 0.60809, 0.60806],
|
|
266
|
-
[0.61141, 0.61154, 0.61151],
|
|
267
|
-
[0.61486, 0.61499, 0.61496],
|
|
268
|
-
[0.61833, 0.61846, 0.61843],
|
|
269
|
-
[0.62179, 0.62192, 0.62189],
|
|
270
|
-
[0.62527, 0.62539, 0.62536],
|
|
271
|
-
[0.62874, 0.62887, 0.62884],
|
|
272
|
-
[0.63222, 0.63235, 0.63231],
|
|
273
|
-
[0.63569, 0.63583, 0.63579],
|
|
274
|
-
[0.63918, 0.63931, 0.63928],
|
|
275
|
-
[0.64267, 0.6428, 0.64276],
|
|
276
|
-
[0.64615, 0.64629, 0.64625],
|
|
277
|
-
[0.64965, 0.64978, 0.64975],
|
|
278
|
-
[0.65314, 0.65327, 0.65324],
|
|
279
|
-
[0.65665, 0.65678, 0.65675],
|
|
280
|
-
[0.66015, 0.66028, 0.66025],
|
|
281
|
-
[0.66366, 0.6638, 0.66376],
|
|
282
|
-
[0.66717, 0.6673, 0.66727],
|
|
283
|
-
[0.67069, 0.67082, 0.67079],
|
|
284
|
-
[0.6742, 0.67434, 0.6743],
|
|
285
|
-
[0.67772, 0.67786, 0.67783],
|
|
286
|
-
[0.68124, 0.68138, 0.68134],
|
|
287
|
-
[0.68477, 0.68491, 0.68488],
|
|
288
|
-
[0.68831, 0.68845, 0.68841],
|
|
289
|
-
[0.69184, 0.69198, 0.69195],
|
|
290
|
-
[0.69538, 0.69552, 0.69548],
|
|
291
|
-
[0.69891, 0.69906, 0.69902],
|
|
292
|
-
[0.70246, 0.7026, 0.70257],
|
|
293
|
-
[0.70601, 0.70616, 0.70612],
|
|
294
|
-
[0.70956, 0.70971, 0.70967],
|
|
295
|
-
[0.71311, 0.71326, 0.71322],
|
|
296
|
-
[0.71668, 0.71682, 0.71679],
|
|
297
|
-
[0.72023, 0.72038, 0.72034],
|
|
298
|
-
[0.7238, 0.72394, 0.72391],
|
|
299
|
-
[0.72736, 0.72751, 0.72748],
|
|
300
|
-
[0.73093, 0.73108, 0.73105],
|
|
301
|
-
[0.73451, 0.73466, 0.73463],
|
|
302
|
-
[0.73808, 0.73823, 0.7382],
|
|
303
|
-
[0.74167, 0.74182, 0.74178],
|
|
304
|
-
[0.74525, 0.7454, 0.74536],
|
|
305
|
-
[0.74884, 0.74899, 0.74895],
|
|
306
|
-
[0.75243, 0.75258, 0.75254],
|
|
307
|
-
[0.75602, 0.75618, 0.75614],
|
|
308
|
-
[0.75961, 0.75977, 0.75973],
|
|
309
|
-
[0.76322, 0.76337, 0.76333],
|
|
310
|
-
[0.76682, 0.76697, 0.76694],
|
|
311
|
-
[0.77043, 0.77058, 0.77055],
|
|
312
|
-
[0.77403, 0.77419, 0.77415],
|
|
313
|
-
[0.77765, 0.77781, 0.77777],
|
|
314
|
-
[0.78126, 0.78142, 0.78138],
|
|
315
|
-
[0.78489, 0.78504, 0.785],
|
|
316
|
-
[0.78851, 0.78867, 0.78863],
|
|
317
|
-
[0.79213, 0.79229, 0.79225],
|
|
318
|
-
[0.79576, 0.79592, 0.79588],
|
|
319
|
-
[0.79939, 0.79955, 0.79951],
|
|
320
|
-
[0.80302, 0.80318, 0.80314],
|
|
321
|
-
[0.80666, 0.80683, 0.80679],
|
|
322
|
-
[0.8103, 0.81046, 0.81042],
|
|
323
|
-
[0.81394, 0.81411, 0.81406],
|
|
324
|
-
[0.81759, 0.81775, 0.81771],
|
|
325
|
-
[0.82124, 0.82141, 0.82136],
|
|
326
|
-
[0.82489, 0.82506, 0.82501],
|
|
327
|
-
[0.82855, 0.82872, 0.82867],
|
|
328
|
-
[0.83221, 0.83237, 0.83233],
|
|
329
|
-
[0.83587, 0.83604, 0.83599],
|
|
330
|
-
[0.83953, 0.8397, 0.83966],
|
|
331
|
-
[0.8432, 0.84337, 0.84333],
|
|
332
|
-
[0.84687, 0.84704, 0.847],
|
|
333
|
-
[0.85054, 0.85071, 0.85067],
|
|
334
|
-
[0.85422, 0.85439, 0.85435],
|
|
335
|
-
[0.8579, 0.85807, 0.85803],
|
|
336
|
-
[0.86158, 0.86176, 0.86171],
|
|
337
|
-
[0.86527, 0.86544, 0.8654],
|
|
338
|
-
[0.86896, 0.86913, 0.86909],
|
|
339
|
-
[0.87265, 0.87282, 0.87278],
|
|
340
|
-
[0.87634, 0.87652, 0.87647],
|
|
341
|
-
[0.88004, 0.88022, 0.88017],
|
|
342
|
-
[0.88374, 0.88392, 0.88388],
|
|
343
|
-
[0.88744, 0.88762, 0.88758],
|
|
344
|
-
[0.89115, 0.89133, 0.89128],
|
|
345
|
-
[0.89486, 0.89504, 0.895],
|
|
346
|
-
[0.89857, 0.89875, 0.89871],
|
|
347
|
-
[0.90229, 0.90247, 0.90242],
|
|
348
|
-
[0.90601, 0.90619, 0.90614],
|
|
349
|
-
[0.90972, 0.90991, 0.90986],
|
|
350
|
-
[0.91345, 0.91363, 0.91359],
|
|
351
|
-
[0.91718, 0.91736, 0.91732],
|
|
352
|
-
[0.9209, 0.92108, 0.92104],
|
|
353
|
-
[0.92463, 0.92482, 0.92477],
|
|
354
|
-
[0.92837, 0.92855, 0.92851],
|
|
355
|
-
[0.9321, 0.93229, 0.93224],
|
|
356
|
-
[0.93585, 0.93604, 0.93599],
|
|
357
|
-
[0.93959, 0.93978, 0.93973],
|
|
358
|
-
[0.94334, 0.94353, 0.94348],
|
|
359
|
-
]
|
|
42
|
+
try:
|
|
43
|
+
from arviz_plots import *
|
|
44
|
+
import arviz_plots as plots
|
|
360
45
|
|
|
46
|
+
_status = (
|
|
47
|
+
f"arviz_plots {plots.__version__} available, "
|
|
48
|
+
"exposing its functions as part of the `arviz` namespace"
|
|
49
|
+
)
|
|
50
|
+
_log.info(_status)
|
|
51
|
+
del plots
|
|
52
|
+
except ModuleNotFoundError as err:
|
|
53
|
+
raise ImportError("arviz's dependency arviz_plots is not installed", name="arviz") from err
|
|
361
54
|
|
|
362
|
-
|
|
363
|
-
cmap = LinearSegmentedColormap.from_list(name, colorlist, N=256)
|
|
364
|
-
if "cet_" + name not in mpl.colormaps():
|
|
365
|
-
mpl.colormaps.register(cmap, name="cet_" + name)
|
|
55
|
+
info += _status
|
|
366
56
|
|
|
57
|
+
# define version last so it isn't overwritten by the respective attribute in the imported libraries
|
|
58
|
+
__version__ = "1.0.0rc0"
|
|
367
59
|
|
|
368
|
-
|
|
369
|
-
import colorcet
|
|
370
|
-
except ModuleNotFoundError:
|
|
371
|
-
_mpl_cm("gray", _linear_grey_10_95_c0)
|
|
372
|
-
_mpl_cm("gray_r", list(reversed(_linear_grey_10_95_c0)))
|
|
60
|
+
info = f"Status information for ArviZ {__version__}\n\n{info}"
|
|
373
61
|
|
|
62
|
+
pat = re.compile(r"arviz_(base|stats|plots)\s([0-9]+\.[0-9]+)")
|
|
63
|
+
matches = pat.findall(info)
|
|
64
|
+
if any(matches[0][1] != match[1] for match in matches[1:]):
|
|
65
|
+
raise ImportError(
|
|
66
|
+
"Versions of arviz-xyz packages don't match to the minor version. "
|
|
67
|
+
f"The versions found are: {matches}"
|
|
68
|
+
)
|
|
374
69
|
|
|
375
70
|
# clean namespace
|
|
376
|
-
del
|
|
71
|
+
del logging, matches, pat, re, _status
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: arviz
|
|
3
|
+
Version: 1.0.0rc0
|
|
4
|
+
Summary: Expose features from _ArviZverse_ refactored packages together in the ``arviz`` namespace.
|
|
5
|
+
Author-email: ArviZ team <arvizdevs@gmail.com>
|
|
6
|
+
Requires-Python: >=3.12
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: Intended Audience :: Education
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: arviz_base >=0.7.0
|
|
21
|
+
Requires-Dist: arviz_stats[xarray] >=0.7.0
|
|
22
|
+
Requires-Dist: arviz_plots >=0.7.0
|
|
23
|
+
Requires-Dist: arviz_plots[bokeh] ; extra == "bokeh"
|
|
24
|
+
Requires-Dist: build ; extra == "check"
|
|
25
|
+
Requires-Dist: pre-commit ; extra == "check"
|
|
26
|
+
Requires-Dist: h5netcdf ; extra == "doc"
|
|
27
|
+
Requires-Dist: jupyter-sphinx ; extra == "doc"
|
|
28
|
+
Requires-Dist: matplotlib ; extra == "doc"
|
|
29
|
+
Requires-Dist: myst-parser[linkify] ; extra == "doc"
|
|
30
|
+
Requires-Dist: myst-nb ; extra == "doc"
|
|
31
|
+
Requires-Dist: pydata-sphinx-theme>=0.13 ; extra == "doc"
|
|
32
|
+
Requires-Dist: sphinx>=5 ; extra == "doc"
|
|
33
|
+
Requires-Dist: sphinx-copybutton ; extra == "doc"
|
|
34
|
+
Requires-Dist: sphinx-design ; extra == "doc"
|
|
35
|
+
Requires-Dist: sphinx-notfound-page ; extra == "doc"
|
|
36
|
+
Requires-Dist: sphinxcontrib-youtube ; extra == "doc"
|
|
37
|
+
Requires-Dist: arviz_base[h5netcdf] ; extra == "h5netcdf"
|
|
38
|
+
Requires-Dist: arviz_plots[matplotlib] ; extra == "matplotlib"
|
|
39
|
+
Requires-Dist: arviz_base[netcdf4] ; extra == "netcdf4"
|
|
40
|
+
Requires-Dist: arviz_plots[plotly] ; extra == "plotly"
|
|
41
|
+
Requires-Dist: pytest ; extra == "test"
|
|
42
|
+
Requires-Dist: arviz_base[zarr] ; extra == "zarr"
|
|
43
|
+
Project-URL: documentation, https://python.arviz.org
|
|
44
|
+
Project-URL: funding, https://opencollective.com/arviz
|
|
45
|
+
Project-URL: source, https://github.com/arviz-devs/arviz
|
|
46
|
+
Project-URL: tracker, https://github.com/arviz-devs/arviz/issues
|
|
47
|
+
Provides-Extra: bokeh
|
|
48
|
+
Provides-Extra: check
|
|
49
|
+
Provides-Extra: doc
|
|
50
|
+
Provides-Extra: h5netcdf
|
|
51
|
+
Provides-Extra: matplotlib
|
|
52
|
+
Provides-Extra: netcdf4
|
|
53
|
+
Provides-Extra: plotly
|
|
54
|
+
Provides-Extra: test
|
|
55
|
+
Provides-Extra: zarr
|
|
56
|
+
|
|
57
|
+
<img src="https://raw.githubusercontent.com/arviz-devs/arviz-project/main/arviz_logos/ArviZ.png#gh-light-mode-only" width=200></img>
|
|
58
|
+
<img src="https://raw.githubusercontent.com/arviz-devs/arviz-project/main/arviz_logos/ArviZ_white.png#gh-dark-mode-only" width=200></img>
|
|
59
|
+
|
|
60
|
+
[](https://badge.fury.io/py/arviz)
|
|
61
|
+
[](https://doi.org/10.21105/joss.01143) [](https://doi.org/10.5281/zenodo.2540945)
|
|
62
|
+
[](https://numfocus.org)
|
|
63
|
+
|
|
64
|
+
ArviZ (pronounced "AR-_vees_") is a Python package for exploratory analysis of Bayesian models. It includes functions for posterior analysis, data storage, model checking, comparison and diagnostics.
|
|
65
|
+
|
|
66
|
+
### ArviZ in other languages
|
|
67
|
+
ArviZ also has a Julia wrapper available [ArviZ.jl](https://julia.arviz.org/).
|
|
68
|
+
|
|
69
|
+
## Documentation
|
|
70
|
+
|
|
71
|
+
The ArviZ documentation can be found in the [official docs](https://python.arviz.org).
|
|
72
|
+
Here are some quick links for common scenarios:
|
|
73
|
+
|
|
74
|
+
* First time Bayesian modelers and ArviZ users: [EABM book](https://arviz-devs.github.io/EABM/)
|
|
75
|
+
* First time ArviZ users, already familiar with Bayesian modeling: [overview notebook](https://python.arviz.org/projects/plots/en/latest/tutorials/overview.html) or [example gallery](https://python.arviz.org/projects/plots/en/latest/gallery/index.html)
|
|
76
|
+
* ArviZ 0.x user: [migration guide](https://python.arviz.org/en/latest/user_guide/migration_guide.html)
|
|
77
|
+
* ArviZ-verse documentation:
|
|
78
|
+
- [arviz-base](https://python.arviz.org/projects/base/en/latest/)
|
|
79
|
+
- [arviz-stats](https://python.arviz.org/projects/stats/en/latest/)
|
|
80
|
+
- [arviz-plots](https://python.arviz.org/projects/plots/en/latest/)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## Installation
|
|
84
|
+
|
|
85
|
+
### Stable
|
|
86
|
+
ArviZ is available for installation from [PyPI](https://pypi.org/project/arviz/).
|
|
87
|
+
The latest stable version can be installed using pip:
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
pip install "arviz[preview]"
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
ArviZ is also available through [conda-forge](https://anaconda.org/conda-forge/arviz).
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
conda install -c conda-forge arviz arviz-plots
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Development
|
|
100
|
+
The latest development version can be installed from the main branch using pip:
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
pip install git+git://github.com/arviz-devs/arviz.git
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Another option is to clone the repository and install using git and setuptools:
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
git clone https://github.com/arviz-devs/arviz.git
|
|
110
|
+
cd arviz
|
|
111
|
+
python setup.py install
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
-------------------------------------------------------------------------------
|
|
115
|
+
## [Gallery](https://python.arviz.org/en/latest/examples/index.html)
|
|
116
|
+
|
|
117
|
+
<p>
|
|
118
|
+
<table>
|
|
119
|
+
<tr>
|
|
120
|
+
|
|
121
|
+
<td>
|
|
122
|
+
|
|
123
|
+
[](https://arviz-plots.readthedocs.io/en/stable/api/generated/arviz_plots.plot_rank_dist.html)
|
|
124
|
+
|
|
125
|
+
</td>
|
|
126
|
+
|
|
127
|
+
<td>
|
|
128
|
+
|
|
129
|
+
[](https://arviz-plots.readthedocs.io/en/stable/api/generated/arviz_plots.plot_forest.html)
|
|
130
|
+
|
|
131
|
+
</td>
|
|
132
|
+
|
|
133
|
+
</tr>
|
|
134
|
+
</table>
|
|
135
|
+
<div>
|
|
136
|
+
|
|
137
|
+
<a href="https://python.arviz.org/projects/plots/en/latest/gallery/index.html">And more...</a>
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
## Citation
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
If you use ArviZ and want to cite it please use [](https://doi.org/10.21105/joss.01143)
|
|
145
|
+
|
|
146
|
+
Here is the citation in BibTeX format
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
@article{arviz_2019,
|
|
150
|
+
doi = {10.21105/joss.01143},
|
|
151
|
+
url = {https://doi.org/10.21105/joss.01143},
|
|
152
|
+
year = {2019},
|
|
153
|
+
publisher = {The Open Journal},
|
|
154
|
+
volume = {4},
|
|
155
|
+
number = {33},
|
|
156
|
+
pages = {1143},
|
|
157
|
+
author = {Ravin Kumar and Colin Carroll and Ari Hartikainen and Osvaldo Martin},
|
|
158
|
+
title = {ArviZ a unified library for exploratory analysis of Bayesian models in Python},
|
|
159
|
+
journal = {Journal of Open Source Software}
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
## Contributions
|
|
165
|
+
ArviZ is a community project and welcomes contributions.
|
|
166
|
+
Additional information can be found in the [contributing guide](https://python.arviz.org/en/latest/contributing/index.html)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
## Code of Conduct
|
|
170
|
+
ArviZ wishes to maintain a positive community. Additional details
|
|
171
|
+
can be found in the [Code of Conduct](https://www.arviz.org/en/latest/CODE_OF_CONDUCT.html)
|
|
172
|
+
|
|
173
|
+
## Donations
|
|
174
|
+
ArviZ is a non-profit project under NumFOCUS umbrella. If you want to support ArviZ financially, you can donate [here](https://numfocus.org/donate-to-arviz).
|
|
175
|
+
|
|
176
|
+
## Sponsors and Institutional Partners
|
|
177
|
+
[](https://www.aalto.fi/en)
|
|
178
|
+
[](https://fcai.fi/)
|
|
179
|
+
[](https://numfocus.org)
|
|
180
|
+
|
|
181
|
+
[The ArviZ project website](https://www.arviz.org/en/latest/sponsors_partners.html) has more information about each sponsor and the support they provide.
|
|
182
|
+
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
arviz/__init__.py,sha256=0r9MN3R1VtE38yI3rgRjhl8Z7V1gPqXZ_Hk_aONLK9s,2117
|
|
2
|
+
arviz-1.0.0rc0.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
3
|
+
arviz-1.0.0rc0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
4
|
+
arviz-1.0.0rc0.dist-info/METADATA,sha256=sAQznFsRxIFUdYTGd8O7sTK4wY7aZ5rZWBejY-356xY,7384
|
|
5
|
+
arviz-1.0.0rc0.dist-info/RECORD,,
|
arviz/data/__init__.py
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"""Code for loading and manipulating data structures."""
|
|
2
|
-
|
|
3
|
-
from .base import CoordSpec, DimSpec, dict_to_dataset, numpy_to_data_array, pytree_to_dataset
|
|
4
|
-
from .converters import convert_to_dataset, convert_to_inference_data
|
|
5
|
-
from .datasets import clear_data_home, list_datasets, load_arviz_data
|
|
6
|
-
from .inference_data import InferenceData, concat
|
|
7
|
-
from .io_beanmachine import from_beanmachine
|
|
8
|
-
from .io_cmdstan import from_cmdstan
|
|
9
|
-
from .io_cmdstanpy import from_cmdstanpy
|
|
10
|
-
from .io_datatree import from_datatree, to_datatree
|
|
11
|
-
from .io_dict import from_dict, from_pytree
|
|
12
|
-
from .io_emcee import from_emcee
|
|
13
|
-
from .io_json import from_json, to_json
|
|
14
|
-
from .io_netcdf import from_netcdf, to_netcdf
|
|
15
|
-
from .io_numpyro import from_numpyro
|
|
16
|
-
from .io_pyjags import from_pyjags
|
|
17
|
-
from .io_pyro import from_pyro
|
|
18
|
-
from .io_pystan import from_pystan
|
|
19
|
-
from .io_zarr import from_zarr, to_zarr
|
|
20
|
-
from .utils import extract, extract_dataset
|
|
21
|
-
|
|
22
|
-
__all__ = [
|
|
23
|
-
"InferenceData",
|
|
24
|
-
"concat",
|
|
25
|
-
"load_arviz_data",
|
|
26
|
-
"list_datasets",
|
|
27
|
-
"clear_data_home",
|
|
28
|
-
"numpy_to_data_array",
|
|
29
|
-
"extract",
|
|
30
|
-
"extract_dataset",
|
|
31
|
-
"dict_to_dataset",
|
|
32
|
-
"convert_to_dataset",
|
|
33
|
-
"convert_to_inference_data",
|
|
34
|
-
"from_beanmachine",
|
|
35
|
-
"from_pyjags",
|
|
36
|
-
"from_pystan",
|
|
37
|
-
"from_emcee",
|
|
38
|
-
"from_cmdstan",
|
|
39
|
-
"from_cmdstanpy",
|
|
40
|
-
"from_datatree",
|
|
41
|
-
"from_dict",
|
|
42
|
-
"from_pytree",
|
|
43
|
-
"from_json",
|
|
44
|
-
"from_pyro",
|
|
45
|
-
"from_numpyro",
|
|
46
|
-
"from_netcdf",
|
|
47
|
-
"pytree_to_dataset",
|
|
48
|
-
"to_datatree",
|
|
49
|
-
"to_json",
|
|
50
|
-
"to_netcdf",
|
|
51
|
-
"from_zarr",
|
|
52
|
-
"to_zarr",
|
|
53
|
-
"CoordSpec",
|
|
54
|
-
"DimSpec",
|
|
55
|
-
]
|