yellowbrick icon indicating copy to clipboard operation
yellowbrick copied to clipboard

IterPlot utility / transformer method

Open ndanielsen opened this issue 8 years ago • 0 comments
trafficstars

The concept is to create a visualizer utility / transformer method to create multiple plots that each have a focus on one element / class in a set of values.

An example of usage would be this:

visualizer = IterPlotVisualizer(KMeans(n_clusters=6)) visualizer.transform_fit(X, y, label_col='some_column' )

Would produce a series of plots for member of elements in the label_column. (note this viz has a modified k-means for labeling consistency across iterations)

screen shot 2017-09-09 at 11 18 36 am

To produce only plot, the label_value or similar kwarg would be passed in

visualizer.transform_fit(X, y, label_col='some_column', label_value="value_one")

ndanielsen avatar Sep 09 '17 16:09 ndanielsen