xor.bench(snns) | R Documentation |
xor.bench(n, d=2)
n |
number of patterns to create |
d |
dimension |
Returns an object of class @nn.pattern
containing a training set
for the continous XOR benchmark problem.
# 2d example p<-xor.bench(300,2) plot(p$input,col=p$target.labels) # # 3d example p<-xor.bench(300,3) pairs(p$input,col=p$target.labels)