arviz 0.23.1__tar.gz → 1.0.0rc0__tar.gz
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-0.23.1 → arviz-1.0.0rc0}/LICENSE +0 -1
- arviz-1.0.0rc0/PKG-INFO +182 -0
- arviz-1.0.0rc0/README.md +125 -0
- arviz-1.0.0rc0/pyproject.toml +92 -0
- arviz-1.0.0rc0/src/arviz/__init__.py +71 -0
- arviz-0.23.1/CHANGELOG.md +0 -830
- arviz-0.23.1/CODE_OF_CONDUCT.md +0 -50
- arviz-0.23.1/CONTRIBUTING.md +0 -25
- arviz-0.23.1/GOVERNANCE.md +0 -3
- arviz-0.23.1/MANIFEST.in +0 -9
- arviz-0.23.1/PKG-INFO +0 -263
- arviz-0.23.1/README.md +0 -203
- arviz-0.23.1/arviz/__init__.py +0 -376
- arviz-0.23.1/arviz/data/__init__.py +0 -55
- arviz-0.23.1/arviz/data/base.py +0 -596
- arviz-0.23.1/arviz/data/converters.py +0 -203
- arviz-0.23.1/arviz/data/datasets.py +0 -161
- arviz-0.23.1/arviz/data/example_data/code/radon/radon.json +0 -326
- arviz-0.23.1/arviz/data/example_data/data/centered_eight.nc +0 -0
- arviz-0.23.1/arviz/data/example_data/data/non_centered_eight.nc +0 -0
- arviz-0.23.1/arviz/data/example_data/data_local.json +0 -12
- arviz-0.23.1/arviz/data/example_data/data_remote.json +0 -58
- arviz-0.23.1/arviz/data/inference_data.py +0 -2386
- arviz-0.23.1/arviz/data/io_beanmachine.py +0 -112
- arviz-0.23.1/arviz/data/io_cmdstan.py +0 -1036
- arviz-0.23.1/arviz/data/io_cmdstanpy.py +0 -1233
- arviz-0.23.1/arviz/data/io_datatree.py +0 -23
- arviz-0.23.1/arviz/data/io_dict.py +0 -462
- arviz-0.23.1/arviz/data/io_emcee.py +0 -317
- arviz-0.23.1/arviz/data/io_json.py +0 -54
- arviz-0.23.1/arviz/data/io_netcdf.py +0 -68
- arviz-0.23.1/arviz/data/io_numpyro.py +0 -497
- arviz-0.23.1/arviz/data/io_pyjags.py +0 -378
- arviz-0.23.1/arviz/data/io_pyro.py +0 -333
- arviz-0.23.1/arviz/data/io_pystan.py +0 -1095
- arviz-0.23.1/arviz/data/io_zarr.py +0 -46
- arviz-0.23.1/arviz/data/utils.py +0 -139
- arviz-0.23.1/arviz/labels.py +0 -210
- arviz-0.23.1/arviz/plots/__init__.py +0 -61
- arviz-0.23.1/arviz/plots/autocorrplot.py +0 -171
- arviz-0.23.1/arviz/plots/backends/__init__.py +0 -223
- arviz-0.23.1/arviz/plots/backends/bokeh/__init__.py +0 -166
- arviz-0.23.1/arviz/plots/backends/bokeh/autocorrplot.py +0 -101
- arviz-0.23.1/arviz/plots/backends/bokeh/bfplot.py +0 -23
- arviz-0.23.1/arviz/plots/backends/bokeh/bpvplot.py +0 -193
- arviz-0.23.1/arviz/plots/backends/bokeh/compareplot.py +0 -167
- arviz-0.23.1/arviz/plots/backends/bokeh/densityplot.py +0 -239
- arviz-0.23.1/arviz/plots/backends/bokeh/distcomparisonplot.py +0 -23
- arviz-0.23.1/arviz/plots/backends/bokeh/distplot.py +0 -183
- arviz-0.23.1/arviz/plots/backends/bokeh/dotplot.py +0 -113
- arviz-0.23.1/arviz/plots/backends/bokeh/ecdfplot.py +0 -73
- arviz-0.23.1/arviz/plots/backends/bokeh/elpdplot.py +0 -203
- arviz-0.23.1/arviz/plots/backends/bokeh/energyplot.py +0 -155
- arviz-0.23.1/arviz/plots/backends/bokeh/essplot.py +0 -176
- arviz-0.23.1/arviz/plots/backends/bokeh/forestplot.py +0 -772
- arviz-0.23.1/arviz/plots/backends/bokeh/hdiplot.py +0 -54
- arviz-0.23.1/arviz/plots/backends/bokeh/kdeplot.py +0 -268
- arviz-0.23.1/arviz/plots/backends/bokeh/khatplot.py +0 -163
- arviz-0.23.1/arviz/plots/backends/bokeh/lmplot.py +0 -185
- arviz-0.23.1/arviz/plots/backends/bokeh/loopitplot.py +0 -211
- arviz-0.23.1/arviz/plots/backends/bokeh/mcseplot.py +0 -184
- arviz-0.23.1/arviz/plots/backends/bokeh/pairplot.py +0 -328
- arviz-0.23.1/arviz/plots/backends/bokeh/parallelplot.py +0 -81
- arviz-0.23.1/arviz/plots/backends/bokeh/posteriorplot.py +0 -324
- arviz-0.23.1/arviz/plots/backends/bokeh/ppcplot.py +0 -379
- arviz-0.23.1/arviz/plots/backends/bokeh/rankplot.py +0 -149
- arviz-0.23.1/arviz/plots/backends/bokeh/separationplot.py +0 -107
- arviz-0.23.1/arviz/plots/backends/bokeh/traceplot.py +0 -436
- arviz-0.23.1/arviz/plots/backends/bokeh/violinplot.py +0 -164
- arviz-0.23.1/arviz/plots/backends/matplotlib/__init__.py +0 -124
- arviz-0.23.1/arviz/plots/backends/matplotlib/autocorrplot.py +0 -72
- arviz-0.23.1/arviz/plots/backends/matplotlib/bfplot.py +0 -78
- arviz-0.23.1/arviz/plots/backends/matplotlib/bpvplot.py +0 -177
- arviz-0.23.1/arviz/plots/backends/matplotlib/compareplot.py +0 -135
- arviz-0.23.1/arviz/plots/backends/matplotlib/densityplot.py +0 -194
- arviz-0.23.1/arviz/plots/backends/matplotlib/distcomparisonplot.py +0 -119
- arviz-0.23.1/arviz/plots/backends/matplotlib/distplot.py +0 -178
- arviz-0.23.1/arviz/plots/backends/matplotlib/dotplot.py +0 -116
- arviz-0.23.1/arviz/plots/backends/matplotlib/ecdfplot.py +0 -70
- arviz-0.23.1/arviz/plots/backends/matplotlib/elpdplot.py +0 -189
- arviz-0.23.1/arviz/plots/backends/matplotlib/energyplot.py +0 -113
- arviz-0.23.1/arviz/plots/backends/matplotlib/essplot.py +0 -180
- arviz-0.23.1/arviz/plots/backends/matplotlib/forestplot.py +0 -656
- arviz-0.23.1/arviz/plots/backends/matplotlib/hdiplot.py +0 -48
- arviz-0.23.1/arviz/plots/backends/matplotlib/kdeplot.py +0 -177
- arviz-0.23.1/arviz/plots/backends/matplotlib/khatplot.py +0 -241
- arviz-0.23.1/arviz/plots/backends/matplotlib/lmplot.py +0 -149
- arviz-0.23.1/arviz/plots/backends/matplotlib/loopitplot.py +0 -144
- arviz-0.23.1/arviz/plots/backends/matplotlib/mcseplot.py +0 -161
- arviz-0.23.1/arviz/plots/backends/matplotlib/pairplot.py +0 -355
- arviz-0.23.1/arviz/plots/backends/matplotlib/parallelplot.py +0 -58
- arviz-0.23.1/arviz/plots/backends/matplotlib/posteriorplot.py +0 -348
- arviz-0.23.1/arviz/plots/backends/matplotlib/ppcplot.py +0 -478
- arviz-0.23.1/arviz/plots/backends/matplotlib/rankplot.py +0 -119
- arviz-0.23.1/arviz/plots/backends/matplotlib/separationplot.py +0 -97
- arviz-0.23.1/arviz/plots/backends/matplotlib/traceplot.py +0 -526
- arviz-0.23.1/arviz/plots/backends/matplotlib/tsplot.py +0 -121
- arviz-0.23.1/arviz/plots/backends/matplotlib/violinplot.py +0 -148
- arviz-0.23.1/arviz/plots/bfplot.py +0 -128
- arviz-0.23.1/arviz/plots/bpvplot.py +0 -308
- arviz-0.23.1/arviz/plots/compareplot.py +0 -177
- arviz-0.23.1/arviz/plots/densityplot.py +0 -284
- arviz-0.23.1/arviz/plots/distcomparisonplot.py +0 -197
- arviz-0.23.1/arviz/plots/distplot.py +0 -233
- arviz-0.23.1/arviz/plots/dotplot.py +0 -233
- arviz-0.23.1/arviz/plots/ecdfplot.py +0 -372
- arviz-0.23.1/arviz/plots/elpdplot.py +0 -174
- arviz-0.23.1/arviz/plots/energyplot.py +0 -147
- arviz-0.23.1/arviz/plots/essplot.py +0 -319
- arviz-0.23.1/arviz/plots/forestplot.py +0 -304
- arviz-0.23.1/arviz/plots/hdiplot.py +0 -211
- arviz-0.23.1/arviz/plots/kdeplot.py +0 -357
- arviz-0.23.1/arviz/plots/khatplot.py +0 -236
- arviz-0.23.1/arviz/plots/lmplot.py +0 -380
- arviz-0.23.1/arviz/plots/loopitplot.py +0 -224
- arviz-0.23.1/arviz/plots/mcseplot.py +0 -194
- arviz-0.23.1/arviz/plots/pairplot.py +0 -281
- arviz-0.23.1/arviz/plots/parallelplot.py +0 -204
- arviz-0.23.1/arviz/plots/plot_utils.py +0 -599
- arviz-0.23.1/arviz/plots/posteriorplot.py +0 -298
- arviz-0.23.1/arviz/plots/ppcplot.py +0 -369
- arviz-0.23.1/arviz/plots/rankplot.py +0 -232
- arviz-0.23.1/arviz/plots/separationplot.py +0 -167
- arviz-0.23.1/arviz/plots/styles/arviz-bluish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-brownish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-colors.mplstyle +0 -2
- arviz-0.23.1/arviz/plots/styles/arviz-cyanish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-darkgrid.mplstyle +0 -40
- arviz-0.23.1/arviz/plots/styles/arviz-doc.mplstyle +0 -88
- arviz-0.23.1/arviz/plots/styles/arviz-docgrid.mplstyle +0 -88
- arviz-0.23.1/arviz/plots/styles/arviz-grayscale.mplstyle +0 -41
- arviz-0.23.1/arviz/plots/styles/arviz-greenish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-orangish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-plasmish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-purplish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-redish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-royish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-viridish.mplstyle +0 -1
- arviz-0.23.1/arviz/plots/styles/arviz-white.mplstyle +0 -40
- arviz-0.23.1/arviz/plots/styles/arviz-whitegrid.mplstyle +0 -40
- arviz-0.23.1/arviz/plots/traceplot.py +0 -273
- arviz-0.23.1/arviz/plots/tsplot.py +0 -440
- arviz-0.23.1/arviz/plots/violinplot.py +0 -192
- arviz-0.23.1/arviz/preview.py +0 -58
- arviz-0.23.1/arviz/py.typed +0 -0
- arviz-0.23.1/arviz/rcparams.py +0 -606
- arviz-0.23.1/arviz/sel_utils.py +0 -223
- arviz-0.23.1/arviz/static/css/style.css +0 -340
- arviz-0.23.1/arviz/static/html/icons-svg-inline.html +0 -15
- arviz-0.23.1/arviz/stats/__init__.py +0 -37
- arviz-0.23.1/arviz/stats/density_utils.py +0 -1013
- arviz-0.23.1/arviz/stats/diagnostics.py +0 -1013
- arviz-0.23.1/arviz/stats/ecdf_utils.py +0 -324
- arviz-0.23.1/arviz/stats/stats.py +0 -2422
- arviz-0.23.1/arviz/stats/stats_refitting.py +0 -119
- arviz-0.23.1/arviz/stats/stats_utils.py +0 -609
- arviz-0.23.1/arviz/tests/__init__.py +0 -1
- arviz-0.23.1/arviz/tests/base_tests/__init__.py +0 -1
- arviz-0.23.1/arviz/tests/base_tests/test_data.py +0 -1679
- arviz-0.23.1/arviz/tests/base_tests/test_data_zarr.py +0 -143
- arviz-0.23.1/arviz/tests/base_tests/test_diagnostics.py +0 -511
- arviz-0.23.1/arviz/tests/base_tests/test_diagnostics_numba.py +0 -87
- arviz-0.23.1/arviz/tests/base_tests/test_helpers.py +0 -18
- arviz-0.23.1/arviz/tests/base_tests/test_labels.py +0 -69
- arviz-0.23.1/arviz/tests/base_tests/test_plot_utils.py +0 -342
- arviz-0.23.1/arviz/tests/base_tests/test_plots_bokeh.py +0 -1288
- arviz-0.23.1/arviz/tests/base_tests/test_plots_matplotlib.py +0 -2197
- arviz-0.23.1/arviz/tests/base_tests/test_rcparams.py +0 -317
- arviz-0.23.1/arviz/tests/base_tests/test_stats.py +0 -925
- arviz-0.23.1/arviz/tests/base_tests/test_stats_ecdf_utils.py +0 -166
- arviz-0.23.1/arviz/tests/base_tests/test_stats_numba.py +0 -45
- arviz-0.23.1/arviz/tests/base_tests/test_stats_utils.py +0 -384
- arviz-0.23.1/arviz/tests/base_tests/test_utils.py +0 -376
- arviz-0.23.1/arviz/tests/base_tests/test_utils_numba.py +0 -87
- arviz-0.23.1/arviz/tests/conftest.py +0 -46
- arviz-0.23.1/arviz/tests/external_tests/__init__.py +0 -1
- arviz-0.23.1/arviz/tests/external_tests/test_data_beanmachine.py +0 -78
- arviz-0.23.1/arviz/tests/external_tests/test_data_cmdstan.py +0 -398
- arviz-0.23.1/arviz/tests/external_tests/test_data_cmdstanpy.py +0 -496
- arviz-0.23.1/arviz/tests/external_tests/test_data_emcee.py +0 -166
- arviz-0.23.1/arviz/tests/external_tests/test_data_numpyro.py +0 -434
- arviz-0.23.1/arviz/tests/external_tests/test_data_pyjags.py +0 -119
- arviz-0.23.1/arviz/tests/external_tests/test_data_pyro.py +0 -260
- arviz-0.23.1/arviz/tests/external_tests/test_data_pystan.py +0 -307
- arviz-0.23.1/arviz/tests/helpers.py +0 -677
- arviz-0.23.1/arviz/utils.py +0 -773
- arviz-0.23.1/arviz/wrappers/__init__.py +0 -13
- arviz-0.23.1/arviz/wrappers/base.py +0 -236
- arviz-0.23.1/arviz/wrappers/wrap_pymc.py +0 -36
- arviz-0.23.1/arviz/wrappers/wrap_stan.py +0 -148
- arviz-0.23.1/arviz.egg-info/PKG-INFO +0 -263
- arviz-0.23.1/arviz.egg-info/SOURCES.txt +0 -198
- arviz-0.23.1/arviz.egg-info/dependency_links.txt +0 -1
- arviz-0.23.1/arviz.egg-info/requires.txt +0 -27
- arviz-0.23.1/arviz.egg-info/top_level.txt +0 -1
- arviz-0.23.1/pyproject.toml +0 -15
- arviz-0.23.1/requirements-dev.txt +0 -11
- arviz-0.23.1/requirements-docs.txt +0 -18
- arviz-0.23.1/requirements-external.txt +0 -6
- arviz-0.23.1/requirements-optional.txt +0 -9
- arviz-0.23.1/requirements-test.txt +0 -6
- arviz-0.23.1/requirements.txt +0 -11
- arviz-0.23.1/setup.cfg +0 -4
- arviz-0.23.1/setup.py +0 -80
arviz-1.0.0rc0/PKG-INFO
ADDED
|
@@ -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
|
+
|
arviz-1.0.0rc0/README.md
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
<img src="https://raw.githubusercontent.com/arviz-devs/arviz-project/main/arviz_logos/ArviZ.png#gh-light-mode-only" width=200></img>
|
|
2
|
+
<img src="https://raw.githubusercontent.com/arviz-devs/arviz-project/main/arviz_logos/ArviZ_white.png#gh-dark-mode-only" width=200></img>
|
|
3
|
+
|
|
4
|
+
[](https://badge.fury.io/py/arviz)
|
|
5
|
+
[](https://doi.org/10.21105/joss.01143) [](https://doi.org/10.5281/zenodo.2540945)
|
|
6
|
+
[](https://numfocus.org)
|
|
7
|
+
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
### ArviZ in other languages
|
|
11
|
+
ArviZ also has a Julia wrapper available [ArviZ.jl](https://julia.arviz.org/).
|
|
12
|
+
|
|
13
|
+
## Documentation
|
|
14
|
+
|
|
15
|
+
The ArviZ documentation can be found in the [official docs](https://python.arviz.org).
|
|
16
|
+
Here are some quick links for common scenarios:
|
|
17
|
+
|
|
18
|
+
* First time Bayesian modelers and ArviZ users: [EABM book](https://arviz-devs.github.io/EABM/)
|
|
19
|
+
* 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)
|
|
20
|
+
* ArviZ 0.x user: [migration guide](https://python.arviz.org/en/latest/user_guide/migration_guide.html)
|
|
21
|
+
* ArviZ-verse documentation:
|
|
22
|
+
- [arviz-base](https://python.arviz.org/projects/base/en/latest/)
|
|
23
|
+
- [arviz-stats](https://python.arviz.org/projects/stats/en/latest/)
|
|
24
|
+
- [arviz-plots](https://python.arviz.org/projects/plots/en/latest/)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## Installation
|
|
28
|
+
|
|
29
|
+
### Stable
|
|
30
|
+
ArviZ is available for installation from [PyPI](https://pypi.org/project/arviz/).
|
|
31
|
+
The latest stable version can be installed using pip:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
pip install "arviz[preview]"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
ArviZ is also available through [conda-forge](https://anaconda.org/conda-forge/arviz).
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
conda install -c conda-forge arviz arviz-plots
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Development
|
|
44
|
+
The latest development version can be installed from the main branch using pip:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
pip install git+git://github.com/arviz-devs/arviz.git
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Another option is to clone the repository and install using git and setuptools:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
git clone https://github.com/arviz-devs/arviz.git
|
|
54
|
+
cd arviz
|
|
55
|
+
python setup.py install
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
-------------------------------------------------------------------------------
|
|
59
|
+
## [Gallery](https://python.arviz.org/en/latest/examples/index.html)
|
|
60
|
+
|
|
61
|
+
<p>
|
|
62
|
+
<table>
|
|
63
|
+
<tr>
|
|
64
|
+
|
|
65
|
+
<td>
|
|
66
|
+
|
|
67
|
+
[](https://arviz-plots.readthedocs.io/en/stable/api/generated/arviz_plots.plot_rank_dist.html)
|
|
68
|
+
|
|
69
|
+
</td>
|
|
70
|
+
|
|
71
|
+
<td>
|
|
72
|
+
|
|
73
|
+
[](https://arviz-plots.readthedocs.io/en/stable/api/generated/arviz_plots.plot_forest.html)
|
|
74
|
+
|
|
75
|
+
</td>
|
|
76
|
+
|
|
77
|
+
</tr>
|
|
78
|
+
</table>
|
|
79
|
+
<div>
|
|
80
|
+
|
|
81
|
+
<a href="https://python.arviz.org/projects/plots/en/latest/gallery/index.html">And more...</a>
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## Citation
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
If you use ArviZ and want to cite it please use [](https://doi.org/10.21105/joss.01143)
|
|
89
|
+
|
|
90
|
+
Here is the citation in BibTeX format
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
@article{arviz_2019,
|
|
94
|
+
doi = {10.21105/joss.01143},
|
|
95
|
+
url = {https://doi.org/10.21105/joss.01143},
|
|
96
|
+
year = {2019},
|
|
97
|
+
publisher = {The Open Journal},
|
|
98
|
+
volume = {4},
|
|
99
|
+
number = {33},
|
|
100
|
+
pages = {1143},
|
|
101
|
+
author = {Ravin Kumar and Colin Carroll and Ari Hartikainen and Osvaldo Martin},
|
|
102
|
+
title = {ArviZ a unified library for exploratory analysis of Bayesian models in Python},
|
|
103
|
+
journal = {Journal of Open Source Software}
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## Contributions
|
|
109
|
+
ArviZ is a community project and welcomes contributions.
|
|
110
|
+
Additional information can be found in the [contributing guide](https://python.arviz.org/en/latest/contributing/index.html)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## Code of Conduct
|
|
114
|
+
ArviZ wishes to maintain a positive community. Additional details
|
|
115
|
+
can be found in the [Code of Conduct](https://www.arviz.org/en/latest/CODE_OF_CONDUCT.html)
|
|
116
|
+
|
|
117
|
+
## Donations
|
|
118
|
+
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).
|
|
119
|
+
|
|
120
|
+
## Sponsors and Institutional Partners
|
|
121
|
+
[](https://www.aalto.fi/en)
|
|
122
|
+
[](https://fcai.fi/)
|
|
123
|
+
[](https://numfocus.org)
|
|
124
|
+
|
|
125
|
+
[The ArviZ project website](https://www.arviz.org/en/latest/sponsors_partners.html) has more information about each sponsor and the support they provide.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["flit_core >=3.4,<4"]
|
|
3
|
+
build-backend = "flit_core.buildapi"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "arviz"
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
requires-python = ">=3.12"
|
|
9
|
+
license = {file = "LICENSE"}
|
|
10
|
+
authors = [
|
|
11
|
+
{name = "ArviZ team", email = "arvizdevs@gmail.com"}
|
|
12
|
+
]
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Development Status :: 4 - Beta",
|
|
15
|
+
"Intended Audience :: Developers",
|
|
16
|
+
"Intended Audience :: Science/Research",
|
|
17
|
+
"Intended Audience :: Education",
|
|
18
|
+
"License :: OSI Approved :: Apache Software License",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
"Programming Language :: Python",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Programming Language :: Python :: 3.12",
|
|
23
|
+
"Programming Language :: Python :: 3.13",
|
|
24
|
+
"Programming Language :: Python :: 3.14",
|
|
25
|
+
]
|
|
26
|
+
dynamic = ["version", "description"]
|
|
27
|
+
dependencies = [
|
|
28
|
+
"arviz_base >=0.7.0",
|
|
29
|
+
"arviz_stats[xarray] >=0.7.0",
|
|
30
|
+
"arviz_plots >=0.7.0",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[tool.flit.module]
|
|
34
|
+
name = "arviz"
|
|
35
|
+
|
|
36
|
+
[project.urls]
|
|
37
|
+
source = "https://github.com/arviz-devs/arviz"
|
|
38
|
+
tracker = "https://github.com/arviz-devs/arviz/issues"
|
|
39
|
+
documentation = "https://python.arviz.org"
|
|
40
|
+
funding = "https://opencollective.com/arviz"
|
|
41
|
+
|
|
42
|
+
[project.optional-dependencies]
|
|
43
|
+
# user facing optional blocks
|
|
44
|
+
netcdf4 = ["arviz_base[netcdf4]"]
|
|
45
|
+
h5netcdf = ["arviz_base[h5netcdf]"]
|
|
46
|
+
zarr = ["arviz_base[zarr]"]
|
|
47
|
+
matplotlib = ["arviz_plots[matplotlib]"]
|
|
48
|
+
bokeh = ["arviz_plots[bokeh]"]
|
|
49
|
+
plotly = ["arviz_plots[plotly]"]
|
|
50
|
+
|
|
51
|
+
# dev related blocks
|
|
52
|
+
doc = [
|
|
53
|
+
"h5netcdf",
|
|
54
|
+
"jupyter-sphinx",
|
|
55
|
+
"matplotlib",
|
|
56
|
+
"myst-parser[linkify]",
|
|
57
|
+
"myst-nb",
|
|
58
|
+
"pydata-sphinx-theme>=0.13",
|
|
59
|
+
"sphinx>=5",
|
|
60
|
+
"sphinx-copybutton",
|
|
61
|
+
"sphinx-design",
|
|
62
|
+
"sphinx-notfound-page",
|
|
63
|
+
"sphinxcontrib-youtube",
|
|
64
|
+
]
|
|
65
|
+
test = ["pytest"]
|
|
66
|
+
check = ["build", "pre-commit"]
|
|
67
|
+
|
|
68
|
+
[tool.ruff]
|
|
69
|
+
line-length = 100
|
|
70
|
+
|
|
71
|
+
[tool.ruff.lint]
|
|
72
|
+
select = [
|
|
73
|
+
"F", # Pyflakes
|
|
74
|
+
"E", # Pycodestyle
|
|
75
|
+
"W", # Pycodestyle
|
|
76
|
+
"D", # pydocstyle
|
|
77
|
+
"NPY", # numpy specific rules
|
|
78
|
+
"UP", # pyupgrade
|
|
79
|
+
"I", # isort
|
|
80
|
+
"PL", # Pylint
|
|
81
|
+
"TID", # Absolute imports
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
[tool.ruff.lint.per-file-ignores]
|
|
85
|
+
"src/arviz/__init__.py*" = ["I", "F401", "E402", "F403"]
|
|
86
|
+
"docs/source/**/*.ipynb" = ["D", "E", "F", "I", "NPY", "PL", "TID", "UP", "W"]
|
|
87
|
+
"docs/source/conf.py" = ["D"]
|
|
88
|
+
"tests/**/*" = ["D", "PLR2004", "TID252"]
|
|
89
|
+
|
|
90
|
+
[tool.pytest.ini_options]
|
|
91
|
+
filterwarnings = ["error"]
|
|
92
|
+
testpaths = ["tests"]
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# pylint: disable=unused-import,unused-wildcard-import,wildcard-import,invalid-name
|
|
2
|
+
"""Expose features from _ArviZverse_ refactored packages together in the ``arviz`` namespace."""
|
|
3
|
+
|
|
4
|
+
import logging
|
|
5
|
+
import re
|
|
6
|
+
|
|
7
|
+
_log = logging.getLogger(__name__)
|
|
8
|
+
|
|
9
|
+
info = ""
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from arviz_base import *
|
|
13
|
+
import arviz_base as base
|
|
14
|
+
|
|
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
|
|
23
|
+
|
|
24
|
+
info += _status + "\n"
|
|
25
|
+
|
|
26
|
+
try:
|
|
27
|
+
from arviz_stats import *
|
|
28
|
+
import arviz_stats as stats
|
|
29
|
+
|
|
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
|
|
39
|
+
|
|
40
|
+
info += _status + "\n"
|
|
41
|
+
|
|
42
|
+
try:
|
|
43
|
+
from arviz_plots import *
|
|
44
|
+
import arviz_plots as plots
|
|
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
|
|
54
|
+
|
|
55
|
+
info += _status
|
|
56
|
+
|
|
57
|
+
# define version last so it isn't overwritten by the respective attribute in the imported libraries
|
|
58
|
+
__version__ = "1.0.0rc0"
|
|
59
|
+
|
|
60
|
+
info = f"Status information for ArviZ {__version__}\n\n{info}"
|
|
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
|
+
)
|
|
69
|
+
|
|
70
|
+
# clean namespace
|
|
71
|
+
del logging, matches, pat, re, _status
|