kumulant

Exp4State

@Serializable
@SerialName(value = "Exp4State")
data class Exp4State(val weights: DoubleArray) : Result(source)

Snapshot of com.eignex.kumulant.bandit.contextual.Exp4Bandit's state: the per-expert exponential weights. The bandit's state is over experts (not arms), so it surfaces via Snapshotable rather than the com.eignex.kumulant.bandit.PerArmBandit per-arm convenience.

Constructors

Link copied to clipboard
constructor(weights: DoubleArray)

Properties

Link copied to clipboard

Unnormalised per-expert weights; element i is exp(eta · cumulative gain_i).

Exp4State

constructor(weights: DoubleArray)(source)

weights

Unnormalised per-expert weights; element i is exp(eta · cumulative gain_i).