The folks at Trifacta are making it easy to build visualizations on top of D3 with Vega. Vincent makes it easy to build Vega with Python.
https://github.com/wrobstory/vincent
Thursday, January 8, 2015
Bokeh
Bokeh is a Python interactive visualization library for large datasets that natively uses the latest web technologies. Its goal is to provide elegant, concise construction of novel graphics in the style of Protovis/D3, while delivering high-performance interactivity over large data to thin clients.
http://bokeh.pydata.org/en/latest/tutorial/index.html
http://bokeh.pydata.org/en/latest/tutorial/index.html
ggplot
ggplot is an extremely un-pythonic package for doing exactly what ggplot2 does. The goal of the package is to mimic the ggplot2 API. This makes it super easy for people coming over from R to use, and prevents you from having to re-learn how to plot stuff.
https://github.com/yhat/ggplot
https://github.com/yhat/ggplot
Qgrid
Qgrid is an IPython extension which uses SlickGrid to render pandas DataFrames within an IPython notebook. It's being developed for use in Quantopian's hosted research environment, and this repository holds the latest source code:
https://github.com/quantopian/qgrid
Demo:
http://nbviewer.ipython.org/github/quantopian/qgrid/blob/master/qgrid_demo.ipynb
https://github.com/quantopian/qgrid
Demo:
http://nbviewer.ipython.org/github/quantopian/qgrid/blob/master/qgrid_demo.ipynb
Graceful Tree conjecture
In graph theory, a graceful labeling of a graph with m edges is a labeling of its vertices with some subset of the integers between 0 and m inclusive, such that no two vertices share a label, and such that each edge is uniquely identified by the positive, or absolute difference between its endpoints. A graph which admits a graceful labeling is called a graceful graph.
The name "graceful labeling" is due to Solomon W. Golomb; this class of labelings was originally given the name β-labelings by Alex Rosa in a 1967 paper on graph labelings.
A major unproven conjecture in graph theory is the Graceful Tree conjecture or Ringel–Kotzig conjecture, named after Gerhard Ringel and Anton Kotzig, which hypothesizes that all trees are graceful. The Ringel-Kotzig conjecture is also known as the "graceful labeling conjecture". Kotzig once called the effort to prove the conjecture a "disease".
http://en.wikipedia.org/wiki/Graceful_labeling
Web page with a Javascript program that generates graceful labels for a user generated tree:
http://bl.ocks.org/NPashaP/7683252
Thursday, December 4, 2014
Visualizing decision trees in scikit-learn
For single decision trees:
http://scikit-learn.org/dev/modules/tree.html
http://stackoverflow.com/questions/10570042/visualizing-a-decision-tree-example-from-scikit-learn
Hints on how to do it for a Random Forest or Extra Tree classifier:
http://stackoverflow.com/questions/17057139/how-to-find-key-trees-features-from-a-trained-random-forest
http://stackoverflow.com/questions/17362576/random-forest-implementation-in-python
http://scikit-learn.org/dev/modules/tree.html
http://stackoverflow.com/questions/10570042/visualizing-a-decision-tree-example-from-scikit-learn
Hints on how to do it for a Random Forest or Extra Tree classifier:
http://stackoverflow.com/questions/17057139/how-to-find-key-trees-features-from-a-trained-random-forest
http://stackoverflow.com/questions/17362576/random-forest-implementation-in-python
11 open source tools for making the most of machine learning
A summary of open source machine learning libraries.
http://www.networkworld.com/article/2855100/opensource-subnet/11-open-source-tools-machine-learning.html
http://www.networkworld.com/article/2855100/opensource-subnet/11-open-source-tools-machine-learning.html
Subscribe to:
Posts (Atom)