new_xor_variables: Create a set of categorical variables using the logical XOR...

Description Usage Arguments Value Examples

Description

Create a set of categorical variables using the logical XOR operator.

Usage

1
new_xor_variables(n_variables = 2, n_instances = 1000, noise = 0)

Arguments

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.

Value

A set of random variables constructed using the logical XOR operator.

Examples

1
2
new_xor_variables(2, 4, 0)
new_xor_variables(5, 10, 0.5)

msu documentation built on May 2, 2019, 6:43 a.m.

Related to new_xor_variables in msu...