fuzzyclust.timeseries.plot_phase_space#

fuzzyclust.timeseries.plot_phase_space(Y, labels=None, dims=(0, 1), centers=None, ax=None, s=3, lw=0.3, trajectory=True)[source]#

Two coordinates of a reconstructed (or true) state space, colored by cluster.

Parameters:
Yarray_like of shape (n_samples, dim)

Delay vectors (or state trajectory).

labelsarray_like of shape (n_samples,), optional

Hard cluster labels used for the colors.

dimstuple of two int, default=(0, 1)

Coordinates to draw.

centersarray_like of shape (n_clusters, dim), optional

Cluster centers, drawn as large markers.

axmatplotlib Axes, optional
sfloat, default=3

Marker size.

lwfloat, default=0.3

Width of the gray trajectory line (0 or trajectory=False hides it).

trajectorybool, default=True
Returns:
axmatplotlib Axes

Examples using fuzzyclust.timeseries.plot_phase_space#

State-space reconstruction and prediction of a chaotic time series

State-space reconstruction and prediction of a chaotic time series