TrackedContextualSpec
@Serializable
@SerialName(value = "TrackedContextual")
Spec for TrackedContextualBandit and its optional observation accumulators.
Constructors
TrackedContextualSpec
constructor(inner: ContextualBanditSpec, contextFeatureSize: Int, chooseTemplate: RegressionStatSpec<*>? = null, updateJointTemplate: RegressionStatSpec<*>? = null, updateMarginalTemplate: RegressionStatSpec<*>? = null, updateArmRewardTemplate: PairedStatSpec<*>? = null)(source)
Properties
chooseTemplate
Accumulator observing context/chosen-arm pairs.
contextFeatureSize
Width of the context supplied to the bandit.
inner
Bandit whose decisions and rewards are observed.
updateArmRewardTemplate
Accumulator observing arm-index/reward pairs.
updateJointTemplate
Accumulator observing contexts prefixed with the chosen arm and reward targets.
updateMarginalTemplate
Accumulator observing context/reward pairs.