View source: R/GenerateSSLData.R
| generateABA | R Documentation |
Two clusters belonging to three classes: the cluster in the middle belongs to one class and the two on the outside to the others.
generateABA(n = 100, d = 2, var = 1)
n |
integer; Number of examples to generate |
d |
integer; dimensionality of the problem |
var |
numeric; size of the variance parameter |
Other RSSL datasets:
generate2ClassGaussian(),
generateCrescentMoon(),
generateFourClusters(),
generateParallelPlanes(),
generateSlicedCookie(),
generateSpirals(),
generateTwoCircles()
data <- generateABA(n=1000,d=2,var=1)
plot(data[,1],data[,2],col=data$Class,asp=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.