Skip to content

Fix typo #656

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 1 commit into from
Jun 15, 2024
Merged
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
262 changes: 208 additions & 54 deletions examples/howto/blackbox_external_likelihood_numpy.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/howto/blackbox_external_likelihood_numpy.myst.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Another issue is that if you want to be able to use the gradient-based step samp

Defining a model/likelihood that PyMC can use and that calls your "black box" function is possible, but it relies on creating a custom PyTensor Op. This is, hopefully, a clear description of how to do this, including one way of writing a gradient function that could be generally applicable.

In the examples below, we create a very simple lineral model and log-likelihood function in numpy.
In the examples below, we create a very simple linear model and log-likelihood function in numpy.

```{code-cell} ipython3
def my_model(m, c, x):
Expand Down
Loading