yellowbrick
yellowbrick copied to clipboard
IterPlot utility / transformer method
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)

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")