LinUcb
@Serializable
@SerialName(value = "LinUcb")
LinUCB-style confidence-bound scoring: invMean(eta(x) + exploration * sqrt(xT * Sigma * x)). Deterministic given the snapshot; no random draw at evaluate time; so the exploration parameter here plays the role of LinUCB's alpha (confidence-bound width), not the variance scale used by Thompson-style posteriors.
A RegressionPosterior rather than a LinearPosterior: a confidence bound has no weight draw, so a caller that samples weights would silently lose all exploration. Pair with MultivariateGaussian where sampled weights are needed.
Functions
evaluate
open override fun evaluate(snapshot: PrecisionRegressionResult, x: Vector, 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.