mlbench.cuboids {mlbench} | R Documentation |
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.
mlbench.cuboids(n, relsize=c(2,2,2,1))
n |
number of patterns to create |
relsize |
relative size of the classes (vector of length 4) |
Returns an object of class "mlbench.cuboids"
with components
x |
input values |
classes |
vector of length n with target classes |
Evgenia Dimitriadou, and Andreas Weingessel
p_mlbench.cuboids(7000) plot(p) library(xgobi) xgobi(p$x,color=c("black","white","red","green")[p$cl])