# Module: tf_agents.bandits.policies.categorical_policy

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/bandits/policies/categorical_policy.py) |

Policy that chooses actions based on a categorical distribution.

## Classes

[`class CategoricalPolicy`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/bandits/policies/categorical_policy/CategoricalPolicy): Policy that chooses an action based on a categorical distribution.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />