freeman-lab/thunder — pull request #6 by mathisonian (2014-07-14 02:58:08+00:00)
Title: add k-means plot function

Adds basic functionality for color-coded k-means plots.

Also makes the following changes
* Adds a `show` keyword-argument to the PCA and KMEANS `plot()` function to choose between showing the visualization or returning an html string
* Updates the kmeans `predict()` method to support both RDD or python array input

![screen shot 2014-07-13 at 10 53 57 pm](https://cloud.githubusercontent.com/assets/1074773/3566769/48d59ee6-0b02-11e4-8f68-1a47deb0e86e.png)