Skip to content

update TFP code #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions notebooks_updated/chp_01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,9 @@
"# Code 1: Bayesian Inference"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```{admonition} This is a reference notebook for the book Bayesian Modeling and Computation in Python\n",
":class: tip, dropdown\n",
"The textbook is not needed to use or run this code, though the context and explanation is missing from this notebook.\n",
"\n",
"If you'd like a copy it's available\n",
"[from the CRC Press](https://www.routledge.com/Bayesian-Modeling-and-Computation-in-Python/Martin-Kumar-Lao/p/book/9780367894368)\n",
"or from [Amazon](https://www.routledge.com/Bayesian-Modeling-and-Computation-in-Python/Martin-Kumar-Lao/p/book/9780367894368).\n",
"``"
]
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down
10 changes: 0 additions & 10 deletions notebooks_updated/chp_01.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ jupyter:

# Code 1: Bayesian Inference


```{admonition} This is a reference notebook for the book Bayesian Modeling and Computation in Python
:class: tip, dropdown
The textbook is not needed to use or run this code, though the context and explanation is missing from this notebook.

If you'd like a copy it's available
[from the CRC Press](https://www.routledge.com/Bayesian-Modeling-and-Computation-in-Python/Martin-Kumar-Lao/p/book/9780367894368)
or from [Amazon](https://www.routledge.com/Bayesian-Modeling-and-Computation-in-Python/Martin-Kumar-Lao/p/book/9780367894368).
``

```python
%matplotlib inline
import arviz as az
Expand Down
16 changes: 0 additions & 16 deletions notebooks_updated/chp_02.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,6 @@
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```{admonition} This is a reference notebook for the book Bayesian Modeling and Computation in Python\n",
":class: tip, dropdown\n",
"The textbook is not needed to use or run this code, though the context and explanation is missing from this notebook.\n",
"\n",
"If you'd like a copy it's available\n",
"[from the CRC Press](https://www.routledge.com/Bayesian-Modeling-and-Computation-in-Python/Martin-Kumar-Lao/p/book/9780367894368)\n",
"or from [Amazon](https://www.routledge.com/Bayesian-Modeling-and-Computation-in-Python/Martin-Kumar-Lao/p/book/9780367894368).\n",
"``"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"import arviz as az\n",
Expand Down
11 changes: 0 additions & 11 deletions notebooks_updated/chp_02.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,12 @@ jupyter:
# Code 2: Exploratory Analysis of Bayesian Models


```{admonition} This is a reference notebook for the book Bayesian Modeling and Computation in Python
:class: tip, dropdown
The textbook is not needed to use or run this code, though the context and explanation is missing from this notebook.

If you'd like a copy it's available
[from the CRC Press](https://www.routledge.com/Bayesian-Modeling-and-Computation-in-Python/Martin-Kumar-Lao/p/book/9780367894368)
or from [Amazon](https://www.routledge.com/Bayesian-Modeling-and-Computation-in-Python/Martin-Kumar-Lao/p/book/9780367894368).
``

```python
%matplotlib inline
import arviz as az
import matplotlib.pyplot as plt
import numpy as np
import pymc as pm
from scipy import stats
```

```python
az.style.use("arviz-grayscale")
Expand Down
842 changes: 533 additions & 309 deletions notebooks_updated/chp_03.ipynb

Large diffs are not rendered by default.

Loading