pymc-devs / pymc-devs/pymc-examples

Replacement logistic regression notebook

Open
#348 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

proposal
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.