Giter VIP home page Giter VIP logo

bananaplots's Introduction

bananaplots

image

A simple tool for making banana plots from several multi-dimensional point datasets.

The term banana here refers to the usual shape of the contours of two feature projection of the datasets. See the gallery to see the graphical motivation.

We'd like a tool to drive matplotlib. Declarative.

The distribution of points are internally modelled with a gaussian mixture model.

Gallery (Plots that shall be able to make)

https://docs.google.com/document/d/13h6d35Ily_QobpCk3xNivwm4WW_b36pTXpNITnFWPOo/edit?usp=sharing

Here is an example code:

https://github.com/bccp/bananaplots/blob/master/bananaplots/tests/test_bananaplots.py#L15

which produces the following two figures.

image

image

Notes

This is an ongoing work.

Martin White suggested the project in August of 2016.

Yu Feng discussed the project as an Hack at the AstroHackWeek 2016 with Brigitta Sipocz, Dan Foreman-Mackey, and Jake VanderPlas.

Three major outcomes:

  • Histograms capture tails much better than mixture of gaussians. We currenlty do not support histograms.
  • if we can model the MCMC as a mixture of gaussian, then there probably is a easier way to model the likelihood than running MCMC.
  • In addition, we shall explore a declaritive way of describing a plot that supports more complicated modelling. Vega-Lite does not appear to support this.

The scaffold of the project is roughly based on https://github.com/kbarbary/greeter but we use runtests.py from numpy c.f. kbarbary/greeter#8

bananaplots's People

Contributors

rainwoodman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.