pymc-devs / pymc-devs/pymc-examples

Error in `examples/samplers/sampling_compound_step.ipynb`

Open
#728 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
398
Forks
325
Avg merge
9d 15m
Merged PRs (30d)
1

Description

Old API

────────────────────────────────────────── Error running examples/samplers/sampling_compound_step.ipynb ──────────────────────────────────────────

---------------------------------------------------------------------------
Exception encountered at "In [7]":
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[7], line 1
----> 1 point = m.test_point
      2 point

AttributeError: 'Model' object has no attribute 'test_point'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open examples/samplers/sampling_compound_step.ipynb and inspect cell In[7], where the reported AttributeError occurs. Run the notebook to reproduce the failure and update the example so it completes without the old API error.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.