powered by
The inputs of the cuboids problem are uniformly distributed on a 3-dimensional space within 3 cuboids and a small cube in the middle of them.
3
mlbench.cuboids(n, relsize=c(2,2,2,1))
number of patterns to create
relative size of the classes (vector of length 4)
Returns an object of class "mlbench.cuboids" with components
"mlbench.cuboids"
input values
vector of length n with target classes
n
# NOT RUN { p <- mlbench.cuboids(7000) plot(p) # } # NOT RUN { library(Rggobi) g <- ggobi(p$x) g$setColors(p$class) g$setMode("2D Tour") # }
Run the code above in your browser using DataLab