powered by
Generate Parallel planes
generateParallelPlanes(n = 100, classes = 3, sigma = 0.1)
integer; Number of objects to generate
integer; Number of classes
double; Noise added
Other RSSL datasets: generate2ClassGaussian(), generateABA(), generateCrescentMoon(), generateFourClusters(), generateSlicedCookie(), generateSpirals(), generateTwoCircles()
generate2ClassGaussian()
generateABA()
generateCrescentMoon()
generateFourClusters()
generateSlicedCookie()
generateSpirals()
generateTwoCircles()
library(ggplot2) df <- generateParallelPlanes(100,3) ggplot(df, aes(x=x,y=y,color=Class,shape=Class)) + geom_point()
Run the code above in your browser using DataLab