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
ofshape(n_samples,dim) Delay vectors (or state trajectory).
- labelsarray_like
ofshape(n_samples,),optional Hard cluster labels used for the colors.
- dims
tupleoftwoint, default=(0, 1) Coordinates to draw.
- centersarray_like
ofshape(n_clusters,dim),optional Cluster centers, drawn as large markers.
- ax
matplotlibAxes,optional - s
float, default=3 Marker size.
- lw
float, default=0.3 Width of the gray trajectory line (
0ortrajectory=Falsehides it).- trajectorybool, default=True
- Yarray_like
- Returns:
- ax
matplotlibAxes
- ax
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