MCPcopy Create free account
hub / github.com/SonyCSLParis/cae-invar / plot_fs_2d

Function plot_fs_2d

complex_auto/plot.py:276–385  ·  view source on GitHub ↗

Plot a given dataset and utilizes labels. Plots a given 2d dataset and uses different colors for datapoints belonging to different labels. Displays a centroid for each label cluster and names it with the label string. Parameters ---------- data_set: array-like

(data_set, labels=None, tooltip=None, size=(10, 10),
               save_fn=None,
               interactive=False, cmap=None, show_centroids=True,
               label_centroids=True, style_data='x', style_centroid='o',
               color_dict = None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

plot_pcaFunction · 0.90
evaluateFunction · 0.90

Calls 2

uniquifierFunction · 0.85
color_iteratorFunction · 0.85

Tested by

no test coverage detected