dfm / dfm/corner.py

Comments from Loredo regarding terminology and plotting parameter tweaks

Open
#18 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
576
Forks
234
PR merge metrics
No merged PRs in 30d

Description

In an email on 2013-11-25, Tom Loredo (Cornell) suggested:

Two suggestions:

  • There does not seem to be a universal terminology for these plots,
    but the terms I see most often are "pairs plots" and "scatterplot
    matrices" (I'd never seen "corner plot" or "triangle plot" before).
    I suggest putting these in your README.rst so people
    will more easily find your solution via a web search.
  • One option I have in mine is to plot the posterior samples colored
    according to time in the chain, and transparent. I use a color map
    from blue to green to red, or something like that. It provides a
    graphical 2-D convergence diagnostic: if everything is mixed, the
    predominant color is brownish; but if the chain gets stuck anywhere,
    spots of a specific color stand out. In particular, if you don't
    discard enough "burn in," there is often a blue region sitting away
    from the brownish region. Probably too busy for a final plot, but
    helpful when you're exploring/tuning. My statistician collaborators
    at Duke like this and have started using it.

Thanks Tom!

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

README.rst is the only file named; start there to assess adding “pairs plots” and “scatterplot matrices” terminology. The plotting suggestion needs an entry point and tests to be identified before implementation; done would include the terminology update and, if adopted, an optional transparent color-by-chain-time diagnostic.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.