powered by
Generate a sliced cookie dataset: a circle with a large margin in the middle.
generateSlicedCookie(n = 100, expected = FALSE, gap = 1)
integer; number of observations to generate
logical; TRUE if the large margin equals the class boundary, FALSE if the class boundary is perpendicular to the large margin
numeric; Size of the gap
A data.frame with n objects from the sliced cookie example
Other RSSL datasets: generate2ClassGaussian(), generateABA(), generateCrescentMoon(), generateFourClusters(), generateParallelPlanes(), generateSpirals(), generateTwoCircles()
generate2ClassGaussian()
generateABA()
generateCrescentMoon()
generateFourClusters()
generateParallelPlanes()
generateSpirals()
generateTwoCircles()
# NOT RUN { data <- generateSlicedCookie(1000,expected=FALSE) plot(data[,1],data[,2],col=data$Class,asp=1) # }
Run the code above in your browser using DataLab