Closed zihaoxu98 closed 8 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
appletree/plot.py | 188 | 200 | 94.0% | ||
<!-- | Total: | 190 | 202 | 94.06% | --> |
Totals | |
---|---|
Change from base Build 8158759385: | 1.3% |
Covered Lines: | 2263 |
Relevant Lines: | 2660 |
I added some tests of the plotting function.
This PR adds a class called Plotter, which can generate the needed plots to diagnose MCMC result. Currently, there are four plots: burn-in, marginal posterior, corner, and auto corr plot for convergence check (see emcee doc)
To use it,
Note that a long iteration will slow down the plotting, especially the corner plot.