Skip to content
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

fixing lw typo #557

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
57 changes: 29 additions & 28 deletions Chapter1_Introduction/Ch1_Introduction_PyMC_current.ipynb

Large diffs are not rendered by default.

17 changes: 11 additions & 6 deletions Chapter2_MorePyMC/Ch2_MorePyMC_PyMC_current.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"import numpy as np\n",
"RANDOM_SEED = 8927\n",
"rng = np.random.default_rng(RANDOM_SEED)\n",
"# %config InlineBackend.figure_format = 'retina'\n",
"%config InlineBackend.figure_format = 'retina'\n",
"# the proper way to init the value is to use initval paramter\n",
"# The test_value is just for debug\n",
"# reference is at https://pytensor.readthedocs.io/en/latest/tutorial/debug_faq.html#using-test-values\n",
Expand Down Expand Up @@ -85,7 +85,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {
"collapsed": false,
"jupyter": {
Expand All @@ -100,13 +100,13 @@
" data_generator ~ Pois(poisson_param): None}"
]
},
"execution_count": 3,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"model.initial_values"
"model.rvs_to_initial_values"
]
},
{
Expand Down Expand Up @@ -3429,7 +3429,7 @@
"kernelspec": {
"display_name": "pymc_env",
"language": "python",
"name": "pymc_env"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -3441,7 +3441,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
"version": "3.11.3"
},
"vscode": {
"interpreter": {
"hash": "288c7832cd38c8437973c90a1458b08141a62782cfe295110ff538f530ba3689"
}
}
},
"nbformat": 4,
Expand Down