-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
795 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
docs/source/gallery/inference_diagnostics/plot_ess_local.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
""" | ||
# ESS Local plot | ||
Facetted local ESS plot | ||
--- | ||
:::{seealso} | ||
API Documentation: {func}`~arviz_plots.plot_ess` | ||
::: | ||
""" | ||
|
||
from arviz_base import load_arviz_data | ||
|
||
import arviz_plots as azp | ||
|
||
azp.style.use("arviz-clean") | ||
|
||
data = load_arviz_data("centered_eight") | ||
pc = azp.plot_ess( | ||
data, | ||
kind="local", | ||
backend="none", # change to preferred backend | ||
rug=True, | ||
) | ||
pc.show() |
25 changes: 25 additions & 0 deletions
25
docs/source/gallery/inference_diagnostics/plot_ess_models.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
# ESS comparison plot | ||
Full ESS (Either local or quantile) comparison between different models | ||
--- | ||
:::{seealso} | ||
API Documentation: {func}`~arviz_plots.plot_ess` | ||
::: | ||
""" | ||
|
||
from arviz_base import load_arviz_data | ||
|
||
import arviz_plots as azp | ||
|
||
azp.style.use("arviz-clean") | ||
|
||
c = load_arviz_data("centered_eight") | ||
n = load_arviz_data("non_centered_eight") | ||
pc = azp.plot_ess( | ||
{"Centered": c, "Non Centered": n}, | ||
backend="none", # change to preferred backend | ||
) | ||
pc.show() |
25 changes: 25 additions & 0 deletions
25
docs/source/gallery/inference_diagnostics/plot_ess_quantile.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
# ESS Quantile plot | ||
Facetted quantile ESS plot | ||
--- | ||
:::{seealso} | ||
API Documentation: {func}`~arviz_plots.plot_ess` | ||
::: | ||
""" | ||
|
||
from arviz_base import load_arviz_data | ||
|
||
import arviz_plots as azp | ||
|
||
azp.style.use("arviz-clean") | ||
|
||
data = load_arviz_data("centered_eight") | ||
pc = azp.plot_ess( | ||
data, | ||
kind="quantile", | ||
backend="none", # change to preferred backend | ||
) | ||
pc.show() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.