ThompsonTreePosterior
@Serializable
@SerialName(value = "ThompsonTreePosterior")
Thompson sampling over the leaf's Normal-Gamma posterior. Given the leaf's pseudo- count n, sample mean m, and sample variance v, draws are mu ~ N(m, exploration * v / max(n, 1)); the posterior on the leaf mean assuming a Normal-Gamma conjugate. The variance is blended with priorVariance on a priorWeight pseudo-count, so a leaf holding one observation - whose sample variance is exactly zero - still has spread. exploration = 0.0 collapses to the leaf mean.
Constructors
ThompsonTreePosterior
Properties
priorVariance
Prior variance applied when the leaf has effectively no signal.
priorWeight
Pseudo-count added to the leaf's totalWeights to avoid divide-by-zero on empty leaves.