powered by
Generate a four clusters dataset
generateFourClusters(n = 100, distance = 6, expected = FALSE)
integer; Number of observations to generate
numeric; Distance between clusters (default: 6)
logical; TRUE if the large margin equals the class boundary, FALSE if the class boundary is perpendicular to the large margin
Other RSSL datasets: generate2ClassGaussian(), generateABA(), generateCrescentMoon(), generateParallelPlanes(), generateSlicedCookie(), generateSpirals(), generateTwoCircles()
generate2ClassGaussian()
generateABA()
generateCrescentMoon()
generateParallelPlanes()
generateSlicedCookie()
generateSpirals()
generateTwoCircles()
# NOT RUN { data <- generateFourClusters(1000,distance=6,expected=TRUE) plot(data[,1],data[,2],col=data$Class,asp=1) # }
Run the code above in your browser using DataLab