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

Change text to PyMC in profiling notebook #769

Open
wants to merge 1 commit into
base: main
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
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