Description Usage Arguments Value Examples
Create a set of categorical variables using the logical XOR operator.
1 | new_xor_variables(n_variables = 2, n_instances = 1000, noise = 0)
|
n_variables |
An integer as the number of variables to be created. It is the number of column variables of the table, an additional column is added as a result of the XOR operator over the instances. |
n_instances |
An integer as the number of instances to be created. It is the number of rows of the table. |
noise |
A float number as the noise level for the variables. |
A set of random variables constructed using the logical XOR operator.
1 2 | new_xor_variables(2, 4, 0)
new_xor_variables(5, 10, 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.