Learn R Programming

stagedtrees (version 2.3.0)

noisy_xor: noisy xor function

Description

noisy xor function

Usage

noisy_xor(x, eps = 0)

Value

the computed noisy xor.

Arguments

x

a vector of +1 and -1.

eps

the uniform noise amount.