XorProblem

data class XorProblem(val noise: Float, val setCount: Int) : Problem

The XOR problem presents two inputs, members of {0, 1}, and a single output which is the result of binary xor between the two inputs interpreted.

Parameters

noise

Shifts each input point with a uniform distribution scaled by this parameter.

setCount

The number of sets of 4 examples. The total number will be 4*setCount.

Constructors

Link copied to clipboard
constructor(noise: Float, setCount: Int)

Properties

Link copied to clipboard
Link copied to clipboard