SampleSpec

data class SampleSpec<X, Y>(val convertX: (List<X>) -> Array<X>, val convertY: (List<Y>) -> Array<Y>, val emptyY: (Int) -> Array<Y>, val loss: (MutableList<Sample<X, Y>>, Array<Y>) -> Float, val accuracy: (MutableList<Sample<X, Y>>, Array<Y>) -> Float)

Constructors

Link copied to clipboard
constructor(convertX: (List<X>) -> Array<X>, convertY: (List<Y>) -> Array<Y>, emptyY: (Int) -> Array<Y>, loss: (MutableList<Sample<X, Y>>, Array<Y>) -> Float, accuracy: (MutableList<Sample<X, Y>>, Array<Y>) -> Float)

Properties

Link copied to clipboard
Link copied to clipboard
val convertX: (List<X>) -> Array<X>
Link copied to clipboard
val convertY: (List<Y>) -> Array<Y>
Link copied to clipboard
val emptyY: (Int) -> Array<Y>
Link copied to clipboard