generateCrescentMoon: Generate Crescent Moon dataset

Description Usage Arguments See Also Examples

View source: R/GenerateSSLData.R

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)

RSSL documentation built on May 29, 2017, 6:44 p.m.

Search within the RSSL package
Search all R packages, documentation and source code