Module: tf_agents.bandits.metrics.tf_metrics
TF metrics for Bandits algorithms.
Classes
class ConstraintViolationsMetric
: Computes the violations of a certain constraint.
class DistanceFromGreedyMetric
: Difference between the estimated reward of the chosen and the best action.
class RegretMetric
: Computes the regret with respect to a baseline.
class SuboptimalArmsMetric
: Computes the number of suboptimal arms with respect to a baseline.
Other Members |
absolute_import
|
Instance of __future__._Feature
|
division
|
Instance of __future__._Feature
|
print_function
|
Instance of __future__._Feature
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[]]