kumulant

Exp3Spec

@Serializable
@SerialName(value = "Exp3")
data class Exp3Spec(val nbrArms: Int, val eta: Double? = null, val gamma: Double? = null) : UnivariateBanditSpec(source)

Spec for Exp3Bandit. Pass null for eta / gamma to use the algorithm's defaults.

Constructors

Link copied to clipboard
constructor(nbrArms: Int, eta: Double? = null, gamma: Double? = null)

Properties

Link copied to clipboard
val eta: Double?

Learning rate on per-arm gain updates; null selects sqrt(ln(K)/K).

Link copied to clipboard

Exploration mix probability; null selects min(K * eta, 1).

Link copied to clipboard

Number of arms in the population.

Functions

Link copied to clipboard
fun Exp3Spec.materialize(random: Random = Random.Default): Exp3Bandit

Build a live Exp3Bandit from its spec, resolving null eta / gamma to defaults.

fun UnivariateBanditSpec.materialize(random: Random = Random.Default): Bandit

Dispatch any UnivariateBanditSpec to its concrete bandit.

Exp3Spec

constructor(nbrArms: Int, eta: Double? = null, gamma: Double? = null)(source)

eta

Learning rate on per-arm gain updates; null selects sqrt(ln(K)/K).

gamma

Exploration mix probability; null selects min(K * eta, 1).

nbrArms

Number of arms in the population.