generate_xor_dataset {stagedtrees} | R Documentation |
Generate a xor dataset
Description
Generate a xor dataset
Usage
generate_xor_dataset(p, n, eps = 1.2)
Arguments
p |
number of variables. |
n |
number of observations. |
eps |
error. |
Value
The xor dataset with n
+ 1 variables, where the first one is
the class variable C
computed as a noisy xor.
Examples
DD <- generate_xor_dataset(p = 5, n = 1000, eps = 1.2)
[Package stagedtrees version 2.3.0 Index]