pymc-devs / pymc-devs/pymc-examples
Error in `examples/samplers/MLDA_variance_reduction_linear_regression.ipynb`
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 398
- Forks
- 325
- Avg merge
- 9d 15m
- Merged PRs (30d)
- 1
Description
Needs to be ported to latest PyMC
──────────────────────────────── Error running examples/samplers/MLDA_variance_reduction_linear_regression.ipynb ─────────────────────────────────
---------------------------------------------------------------------------
Exception encountered at "In [2]":
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 8
6 import matplotlib.pyplot as plt
7 import numpy as np
----> 8 import pymc3 as pm
9 import theano.tensor as tt
11 from matplotlib.ticker import ScalarFormatter
ModuleNotFoundError: No module named 'pymc3'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open examples/samplers/MLDA_variance_reduction_linear_regression.ipynb and run it with the latest PyMC environment, starting at In [2], where the pymc3 and theano.tensor imports fail. Port the notebook to current PyMC, then rerun the notebook and confirm the example completes 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
- 45/100