fuzzyclust.viz.make_spiral_3d#

fuzzyclust.viz.make_spiral_3d(n_samples=300, turns=1.0, noise=0.2, random_state=None)[source]#

Noisy points along a part of a helix in 3-D (Migály et al., first example).

\(\mathbf{x}(t)=[\cos t,\ \sin t,\ t/(2\pi)]^T+\boldsymbol{\varepsilon}\) for \(t\in[0, 2\pi\cdot\text{turns}]\), with Gaussian noise of standard deviation noise. A one-dimensional fuzzy SOM should line its prototypes up along the curve.

Returns:
Xndarray of shape (n_samples, 3)
tndarray of shape (n_samples,)

Curve parameter (ordering of the points along the spiral).

Examples using fuzzyclust.viz.make_spiral_3d#

Fuzzy self-organizing map: ordered prototypes by regularized FCM

Fuzzy self-organizing map: ordered prototypes by regularized FCM