Description Usage Arguments Value
The ni data points for the i^th class are generated from N(i,stdevi). Coordinates are assumed to be indepedent (i.e., covariance is the identity matrix).
1 | toyData(n, p, nb = 6, stdev = 1)
|
n |
Desired number of samples in each class. Values are recycled. |
p |
Data dimensionality |
nb |
Number of boundaries (== number of classes - 1) |
stdev |
Standard deviation of each Gaussian. Values are recycled. |
A list with the following elements:
A ns-by-p matrix of ns = sum(n) data points in p dimensions
A matching ordered factor of length ns containing true labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.