fuzzyclust.plotting.plot_membership_profiles#
- fuzzyclust.plotting.plot_membership_profiles(U, ax=None, x=None, stacked=False)[source]#
Membership degrees \(\mu_{ik}\) of every cluster along the sample index.
Useful for time-series / ordered data where the sample order is meaningful.
- Parameters:
- Uarray_like
ofshape(n_samples,n_clusters) - xarray_like
ofshape(n_samples,),optional Abscissa (e.g. time); defaults to the sample index.
- stackedbool, default=False
Stacked area plot instead of lines.
- Uarray_like