three_blobs_data
three_blobs_data()
A random dataset of 3 2D blobs for clustering.
-
Number of samples
: 150 -
Suggested labels
: {0, 1, 2}, distribution: [50, 50, 50]
Returns
-
X, y
: [n_samples, n_features], [n_cluster_labels]X is the feature matrix with 159 samples as rows and 2 feature columns. y is a 1-dimensional array of the 3 suggested cluster labels 0, 1, 2
Examples
For usage examples, please see http://rasbt.github.io/mlxtend/user_guide/data/three_blobs_data