fuzzyclust.viz.make_ellipsoids#
- fuzzyclust.viz.make_ellipsoids(n_clusters=3, n_samples_per_cluster=100, n_features=6, elongation=6.0, separation=6.0, random_state=None)[source]#
Elongated Gaussian clusters with random orientations in \(n\) dimensions.
Every cluster is \(\mathcal{N}(\mathbf{v}_i,\mathbf{F}_i)\) with \(\mathbf{F}_i=\mathbf{Q}_i\mathrm{diag}(\lambda_1,\dots,\lambda_n)\mathbf{Q}_i^T\), a random orthogonal \(\mathbf{Q}_i\) and eigenvalues decreasing geometrically from
elongation\(^2\) to 1, so that the clusters are ellipsoids whose longest axis iselongationtimes the shortest one. The centers are drawn at random with mutual distance at leastseparation. The data set is the higher-dimensional counterpart offuzzyclust.datasets.make_ellipses(): FCM confuses the clusters, GK recovers them, and the FUZZSAM projection of the GK result shows compact spherical groups.
Examples using fuzzyclust.viz.make_ellipsoids#
Fuzzy Sammon mapping: projecting clusters, not just data