kumulant

RegressionContextualSpec

@Serializable
@SerialName(value = "RegressionContextual")
data class RegressionContextualSpec<R : Result>(val nbrArms: Int, val regression: RegressionStatSpec<R>, val posterior: RegressionPosterior<R>, val exploration: Double = 1.0, val globalRegression: RegressionStatSpec<R>? = null) : ContextualBanditSpec(source)

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

Number of arms in the population.

posterior

Stateless arm scorer applied to each per-arm snapshot.

regression

Per-arm regressor template; cloned for each arm.