pymc-devs / pymc-devs/pymc-examples
Replacement logistic regression notebook
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 398
- Forks
- 325
- Avg merge
- 9d 15m
- Merged PRs (30d)
- 1
Description
We recently decided to remove a logistic regression notebook https://github.com/pymc-devs/pymc-examples/issues/82 because it had very high overlap with a Bambi example (https://bambinos.github.io/bambi/main/notebooks/model_comparison.html) and only had the Bambi code.
There is obviously still scope for a logistic regression notebook, but in line with comment by @aloctavodia (https://github.com/pymc-devs/pymc-examples/issues/82#issuecomment-1142722159) we should make this example:
- Focus on PyMC code (not rely on Bambi)
- Provide a link to relevant Bambi examples/docs
- Focus on explanation + visualisation
- A suggestion here would be to focus on setting priors and how that can lead to unintuitive prior predictions. (Similar to what @AlexAndorra does in a private PyMC Labs workshop notebook)
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
Start by reviewing issue #82 and the linked Bambi model_comparison notebook to understand what was removed and what overlap to avoid. Create a replacement logistic regression notebook centered on PyMC code, prior-prediction explanations, and visualisation, with links to relevant Bambi examples or documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- data-visualization, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100