Description Usage Arguments Value
Imitation of the Python sklearn.datasets.make_blobs function.
1 2 | make_blobs(n_samples = 100, n_features = 2, centers = 3,
cluster_std = 1, center_box = c(-10, 10), shuffle = TRUE)
|
n_samples |
Number of points |
n_features |
Dimensionality of dataset |
centers |
Either the number of centers, or a matrix of the chosen centers |
cluster_std |
Standard deviation of Gaussian noise. Either one number, or a vector of length equal to the number of centers |
center_box |
If the centers are being generated, the bounding box within which they will be created. |
shuffle |
Ignored; included for compatibility with the Python |
a list containining samples, a matrix of points, and labels, which identifies the cluster from which each point came.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.