Pymc3: Feature request - Plots of divergences

Created on 5 Dec 2017  Â·  10Comments  Â·  Source: pymc-devs/pymc3

If you have questions about a specific use case, please post it to our discourse channel: https://discourse.pymc.io
If you are not sure whether this is a bug or not, please also post it on discourse.

Description of your problem

This is more a feature request than a problem - I might even hack it myself.

Please provide a minimal, self-contained, and reproducible example.
In http://docs.pymc.io/notebooks/Diagnosing_biased_Inference_with_Divergences.html#A-Dangerously-Short-Markov-Chain there's some neat plots. Would they be useful as functions for plotting divergences for better diagnostics?

Please provide the full traceback.

Please provide any additional information below.

Versions and main components

beginner friendly enhancements

Most helpful comment

I will try to work on this one

All 10 comments

@ColCarroll Any views on this?

I think the people from STAN have this kind of plots _ready-to-use_, what about a diagnostic summary, could that also be useful?

Yeah I think a diagnostic summary would also be excellent. I think my thinking was inspired by some Stan examples.

Something like Figure 5 in https://arxiv.org/pdf/1709.01449.pdf?

Yeah figure 5 is what I had in mind

On 10 Dec 2017 09:21, "Junpeng Lao" notifications@github.com wrote:

Something like Figure 5 in https://arxiv.org/pdf/1709.01449.pdf?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pymc-devs/pymc3/issues/2745#issuecomment-350535279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8DiKOXF9wvb8bPYh-mvTbvo86f8CEWks5s-6KYgaJpZM4Q2P42
.

2677 should make that easier. You can access the warnings explicitly with that, and also see the exact point where the divergence happened. I still need to finish it up though...

Any update on this?

I dont think anybody is actively working on this. But it should make a good beginner issue.

I will try to work on this one

@agustinaarroyuelo you can have a look at http://docs.pymc.io/notebooks/Diagnosing_biased_Inference_with_Divergences.html - There is a prototype of how it would look like.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lindeloev picture lindeloev  Â·  19Comments

HH-1 picture HH-1  Â·  20Comments

springcoil picture springcoil  Â·  36Comments

ericmjl picture ericmjl  Â·  21Comments

springcoil picture springcoil  Â·  35Comments