kumulant

ExponentialGammaPosterior

@Serializable
@SerialName(value = "ExponentialGammaPosterior")
data object ExponentialGammaPosterior : Posterior<WeightedMeanResult> (source)

Gamma posterior over an Exponential rate.

Functions

Link copied to clipboard
open override fun sample(snapshot: WeightedMeanResult, rng: Random): Double

Draw a single Monte Carlo sample of the arm's reward from its posterior.

sample

open override fun sample(snapshot: WeightedMeanResult, rng: Random): Double(source)

Draw a single Monte Carlo sample of the arm's reward from its posterior.