pymc-devs / pymc-devs/pymc-examples
notebook: glm-model-selection, bambi import error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 398
- Forks
- 325
- Avg merge
- 9d 15m
- Merged PRs (30d)
- 1
Description
Notebook title: GLM Model Selection
Notebook url: https://github.com/pymc-devs/pymc-examples/blob/main/examples/generalized_linear_models/GLM-model-selection.ipynb
Note: it is using pymc3
Issue description
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Input In [1], in <cell line: 2>()
1 import arviz as az
----> 2 import bambi as bmb
3 import matplotlib.pyplot as plt
4 import numpy as np
ModuleNotFoundError: No module named 'bambi'
Expected output
The notebook should run without error.
Proposed solution
Do the requirements file need to be updated to install bambi?
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/generalized_linear_models/GLM-model-selection.ipynb and run its imports to reproduce the missing bambi error. Then inspect requirements-write.txt and requirements-docs.txt to determine where the dependency belongs. Done means the notebook's bambi import and subsequent execution complete without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- 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