powered by
Generate a "crescent moon"/"banana" dataset
generateCrescentMoon(n = 100, d = 2, sigma = 1)
integer; Number of objects to generate
integer; Dimensionality of the dataset
numeric; Noise added
Other RSSL datasets: generate2ClassGaussian(), generateABA(), generateFourClusters(), generateParallelPlanes(), generateSlicedCookie(), generateSpirals(), generateTwoCircles()
generate2ClassGaussian()
generateABA()
generateFourClusters()
generateParallelPlanes()
generateSlicedCookie()
generateSpirals()
generateTwoCircles()
# NOT RUN { data<-generateCrescentMoon(150,2,1) plot(data$X1,data$X2,col=data$Class,asp=1) # }
Run the code above in your browser using DataLab