fuzzyclust.datasets.make_lines#

fuzzyclust.datasets.make_lines(n_lines=3, n_samples_per_line=80, noise=0.15, random_state=None)[source]#

Noisy line segments in 2-D (linear sub-space prototypes).

Suitable for fuzzy c-varieties / c-regression models and for GK, whose smallest covariance eigenvalue direction is the normal of the line.

Returns:
Xndarray of shape (n_lines * n_samples_per_line, 2)
yndarray

Examples using fuzzyclust.datasets.make_lines#

Local optima and restarts: initializing Gustafson–Kessel on crossing lines

Local optima and restarts: initializing Gustafson--Kessel on crossing lines

Three routes to the number of clusters: merging, validity scan, and stability

Three routes to the number of clusters: merging, validity scan, and stability