kumulant

Exp4Expert

fun interface Exp4Expert(source)

Maps a context vector to a probability distribution over arms. Implementations are stateless w.r.t. the bandit; they consult only the context and any internal state frozen at construction. The returned array must have length nbrArms and sum to 1.

Functions

Link copied to clipboard
abstract fun advise(x: VectorView, nbrArms: Int): DoubleArray

Distribution over arms for x. Result must sum to 1 and have length nbrArms.

advise

abstract fun advise(x: VectorView, nbrArms: Int): DoubleArray(source)

Distribution over arms for x. Result must sum to 1 and have length nbrArms.