Continuous XOR Benchmark Problem
The inputs of the XOR problem are uniformly distributed on
the d
-dimensional cube with corners {+-1}. Each pair of
opposite corners form one class, hence the total number of classes is
2^(d-1)
mlbench.xor(n, d=2)
n |
number of patterns to create |
d |
dimension of the XOR problem |
Returns an object of class "mlbench.xor"
with components
x |
input values |
classes |
factor vector of length |
# 2d example p<-mlbench.xor(300,2) plot(p) # # 3d example p<-mlbench.xor(300,3) plot(p)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.