question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plot KDEs horizontally?

See original GitHub issue

Hey, not sure if there’s an interest in this or if this package is actively maintained? I really like this idea of centralizing MCMC plotting tools.

When doing a traceplot, it can help to link the kernel density/histogram to the trace if the histogram/kdeplot closes over the trace. If seaborn is used for the kernel density, it’s only a keyword argument to flip. I think, if this option would be useful in this package, then it should be possible to use ax.fill_betweenx.

There are a lot of other views I’ve built that might be more useful generally for MCMC that could take arbitrary sample chains.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
twieckicommented, Mar 18, 2017

@dustinvtran Since this wasn’t adopted the name can easily be changed. The focus on MCMC is because Stan and PyMC3 are focused on MCMC and there are a certain set of plots people do over and over.

Maybe we should decide on what code we would like to share. We seem to agree on plotting, but some other things come to mind:

  • Convergence diagnostics for MCMC
  • Model comparison metrics (DIC, WAIC etc)
  • Sampling backends to store traces (this could be quite useful for users as it makes interoperability between our packages trivial).

@dustinvtran Not sure if there are variational analyses that would make sense to share?

In any case, before doing any code changes here, we should update to pymc3’s most recent plotting code.

1reaction
aloctavodiacommented, Jul 13, 2018

Closing as this have been addressed. If you think sometimes still needs attention, I would suggest to open a a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to plot pandas kde with a horizontal orientation
Is there any straight forward alternative for plotting kde horizontally as easily as it can be done for histogram?
Read more >
KDE plots - Ajay Tech
Unlike a histogram, KDE produces a smooth estimate. When drawing the individual curves we allow the kernels to overlap with each other which ......
Read more >
What do the horizontal and vertical axes represent in a KDE ...
The horizontal or x-axis of a KDE plot is the range of values in the data set. This is similar to the x...
Read more >
KDEs: Generate an object of class 'KDEs' in pvermees/provenance ...
Convert a dataset of class distributional into an object of class KDEs for further processing by the summaryplot function.
Read more >
Generate an object of class 'KDEs' - R-Project.org
boolean flag indicating whether the data should by plotted on a logarithmic scale. n. horizontal resolution of the density estimates ... optional parameters ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found