fuzzyclust.large.plot_chunk_timeline#

fuzzyclust.large.plot_chunk_timeline(model, feature=0, ax=None, true_centers=None, weights=True)[source]#

Prototype coordinate against the chunk index for a chunked model.

Draws, for every cluster, the coordinate feature of its prototype after each chunk (chunk_centers_ of SinglePassFCM or OnlineFCM); the marker area is proportional to the weight the prototype carries, so a growing marker shows the single-pass prototype accumulating observations. Optional true centers per chunk are drawn as dotted lines (drifting streams).

Parameters:
modelfitted SinglePassFCM or OnlineFCM
featureint, default=0

Which coordinate to show.

axmatplotlib Axes, optional
true_centersarray_like of shape (n_chunks, n_clusters, n_features), optional
weightsbool, default=True

Scale the markers by chunk_weights_.

Returns:
axmatplotlib Axes

Examples using fuzzyclust.large.plot_chunk_timeline#

Fuzzy c-means for very large data: rseFCM, spFCM and oFCM

Fuzzy c-means for very large data: rseFCM, spFCM and oFCM