kumulant

ContextualScorable

Contextual analog of Scorable: per-arm score under the current state and a supplied context vector. Implemented by com.eignex.kumulant.bandit.contextual.RegressionContextualBandit, whose selection rule decomposes into per-arm scores.

Inheritors

Functions

evaluate

abstract fun evaluate(armIndex: Int, x: Vector): Double(source)

Score armIndex under context x and the current state. Higher scores are preferred. The interpretation is policy-specific; sampling scores consume the bandit's randomness.