kumulant

MeanForestPosterior

Forest counterpart to MeanTreePosterior.

Functions

Link copied to clipboard
open override fun evaluate(snapshot: ForestRegressionResult, x: VectorView, rng: Random, exploration: Double = 1.0): Double

Score a query point x under the regression snapshot. exploration controls the posterior-variance scale (Thompson) or the UCB width (LinUcb-style); 0.0 collapses to the point estimate.

evaluate

open override fun evaluate(snapshot: ForestRegressionResult, x: VectorView, rng: Random, exploration: Double = 1.0): Double(source)

Score a query point x under the regression snapshot. exploration controls the posterior-variance scale (Thompson) or the UCB width (LinUcb-style); 0.0 collapses to the point estimate.