make_blobs: Make gaussian blobs

Description Usage Arguments Value

Description

Imitation of the Python sklearn.datasets.make_blobs function.

Usage

1
2
make_blobs(n_samples = 100, n_features = 2, centers = 3,
  cluster_std = 1, center_box = c(-10, 10), shuffle = TRUE)

Arguments

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

Value

a list containining samples, a matrix of points, and labels, which identifies the cluster from which each point came.


elbamos/clusteringdatasets documentation built on May 16, 2019, 2:58 a.m.