Problem

sealed interface Problem

Defines the set of supported problems for which data can be generated.

Inheritors

Types

Link copied to clipboard
data class SpiralClassificationProblem(val xMagnitude: Float, val yMagnitude: Float, val spiralCount: Float) : Problem

The Spiral problem presents two inputs, representing coordinates on an xy-plane, and a single output which indicates membership to one of two arms.

Link copied to clipboard
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.