Generate Crescent Moon dataset

Share:

Description

Generate a "crescent moon"/"banana" dataset

Usage

1
generateCrescentMoon(n = 100, d = 2, sigma = 1)

Arguments

n

integer; Number of objects to generate

d

integer; Dimensionality of the dataset

sigma

numeric; Noise added

See Also

Other RSSL datasets: generate2ClassGaussian, generateABA, generateFourClusters, generateParallelPlanes, generateSlicedCookie, generateSpirals, generateTwoCircles

Examples

1
2
data<-generateCrescentMoon(150,2,1)
plot(data$X1,data$X2,col=data$Class,asp=1)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.