noisy_xor: noisy xor function

View source: R/generate_toy_data.R

noisy_xorR Documentation

noisy xor function

Description

noisy xor function

Usage

noisy_xor(x, eps = 0)

Arguments

x

a vector of +1 and -1.

eps

the uniform noise amount.

Value

the computed noisy xor.


stagedtrees documentation built on May 29, 2024, 12:33 p.m.