Skip to content

Commit

Permalink
PyMC3 -> PyMC (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 authored Feb 5, 2025
1 parent c73b785 commit 18cb11d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/howto/profiling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"(profiling)=\n",
"# Profiling\n",
"Sometimes computing the likelihood is not as fast as we would like. Theano provides handy profiling tools which are wrapped in PyMC3 by {func}`model.profile <pymc.model.core.Model.profile>`. This function returns a `ProfileStats` object conveying information about the underlying Theano operations. Here we'll profile the likelihood and gradient for the stochastic volatility example.\n",
"Sometimes computing the likelihood is not as fast as we would like. Theano provides handy profiling tools which are wrapped in PyMC by {func}`model.profile <pymc.model.core.Model.profile>`. This function returns a `ProfileStats` object conveying information about the underlying Theano operations. Here we'll profile the likelihood and gradient for the stochastic volatility example.\n",
"\n",
"First we build the model."
]
Expand All @@ -27,7 +27,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Running on PyMC3 v5.10.0\n"
"Running on PyMC v5.10.0\n"
]
}
],
Expand All @@ -36,7 +36,7 @@
"import pandas as pd\n",
"import pymc as pm\n",
"\n",
"print(f\"Running on PyMC3 v{pm.__version__}\")"
"print(f\"Running on PyMC v{pm.__version__}\")"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions examples/howto/profiling.myst.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kernelspec:

(profiling)=
# Profiling
Sometimes computing the likelihood is not as fast as we would like. Theano provides handy profiling tools which are wrapped in PyMC3 by {func}`model.profile <pymc.model.core.Model.profile>`. This function returns a `ProfileStats` object conveying information about the underlying Theano operations. Here we'll profile the likelihood and gradient for the stochastic volatility example.
Sometimes computing the likelihood is not as fast as we would like. Theano provides handy profiling tools which are wrapped in PyMC by {func}`model.profile <pymc.model.core.Model.profile>`. This function returns a `ProfileStats` object conveying information about the underlying Theano operations. Here we'll profile the likelihood and gradient for the stochastic volatility example.

First we build the model.

Expand All @@ -21,7 +21,7 @@ import numpy as np
import pandas as pd
import pymc as pm
print(f"Running on PyMC3 v{pm.__version__}")
print(f"Running on PyMC v{pm.__version__}")
```

```{code-cell} ipython3
Expand Down

0 comments on commit 18cb11d

Please sign in to comment.