RegressionContextualSpec
@Serializable
@SerialName(value = "RegressionContextual")
Spec for RegressionContextualBandit using the same RegressionStatSpec trees as statistical schemas. R ties the per-arm and optional global regressors to their posterior scoring rule. Built-in linear, tree, and forest posteriors are wire-portable.
Constructors
RegressionContextualSpec
constructor(nbrArms: Int, regression: RegressionStatSpec<R>, posterior: RegressionPosterior<R>, exploration: Double = 1.0, globalRegression: RegressionStatSpec<R>? = null)(source)
Properties
exploration
Per-evaluate exploration scale forwarded to posterior.
globalRegression
Template for the global pooling regressor; null disables pooling.
nbrArms
posterior
Stateless arm scorer applied to each per-arm snapshot.
regression
Per-arm regressor template; cloned for each arm.