Module: tf_agents.bandits.metrics.tf_metrics

TF metrics for Bandits algorithms.

Classes

class ConstraintViolationsMetric: Computes the violations of a certain constraint.

class RegretMetric: Computes the regret with respect to a baseline.

class SuboptimalArmsMetric: Computes the number of suboptimal arms with respect to a baseline.