pymc-devs / pymc-devs/pymc-examples

Error in `examples/samplers/sampling_conjugate_step.ipynb`

Open
#730 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

Would need to be ported to latest PyMC

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

---------------------------------------------------------------------------
Exception encountered at "In [2]":
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 4
      2 import matplotlib.pyplot as plt
      3 import numpy as np
----> 4 import pymc3 as pm
      6 from pymc3.distributions.transforms import stick_breaking
      7 from pymc3.model import modelcontext

ModuleNotFoundError: No module named 'pymc3'

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_conjugate_step.ipynb and inspect the failing imports in cell In [2], especially the pymc3 references. Port the notebook to the latest PyMC and verify that it runs without the reported ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.