fuzzyclust.graph.make_s_curve#

fuzzyclust.graph.make_s_curve(n_samples=600, noise=0.0, random_state=None)[source]#

Points on the three-dimensional S-curve, a two-dimensional manifold (wraps scikit-learn).

The benchmark of the Isomap paper and of the geodesic clustering paper: the sheet is bent into an S, so Euclidean neighbors across the fold are far apart along the manifold. The continuous position along the curve is returned as y for colouring.

Parameters:
n_samplesint, default=600
noisefloat, default=0.0

Standard deviation of Gaussian noise added to the points.

random_stateint, RandomState instance or None
Returns:
Xndarray of shape (n_samples, 3)
tndarray of shape (n_samples,)

Univariate position of every sample along the main dimension of the manifold.

Examples using fuzzyclust.graph.make_s_curve#

Geodesic paths, the S-curve, and clustering of the Isomap projection

Geodesic paths, the S-curve, and clustering of the Isomap projection