pymc-devs / pymc-devs/pymc-examples

Problems in (high impact) GLM Hierarchical notebook

Open
#421 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue high impact
Dominant language
Python
Stars
398
Forks
325
Avg merge
9d 15m
Merged PRs (30d)
1

Description

Notebook title:GLM: Hierarchical Linear Regression
Notebook url: source link, website link

Issue description

There are many, many divergences in the sample of the main, hierarchical model. There also appear to be images missing under "The Models" section. Not sure what these are supposed to be.

Proposed solution

I suspect the sampling could be fixed by re-running and/or setting the random seed for stability. Not sure what the images were (at one time).

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 with examples/generalized_linear_models/GLM-hierarchical.ipynb and compare it with the rendered website page. Re-run the main hierarchical model to reproduce the divergences, then inspect the “The Models” section to determine which images are missing. Done means the notebook samples without the reported divergences and the expected images appear in the rendered example.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
documentation, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.