kumulant

LogNormalGammaPosterior

@Serializable
@SerialName(value = "LogNormalGammaPosterior")
data object LogNormalGammaPosterior : Posterior<WeightedVarianceResult> (source)

Log-Normal-Gamma posterior: same draw as NormalGammaPosterior but exp-transformed back to the real scale. Intended for arms whose stat already accumulates log-rewards (see LogNormalArm's encode).

Functions

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

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

sample

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

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