A categorical distribution assigns probabilities to discrete actions. In a policy-gradient agent, it can represent action choices such as Low, Medium, and High; a Gaussian distribution serves the corresponding role for continuous actions. section 9.3
Choosing an action
For logits [1.0, 2.5, 0.5], softmax gives approximate probabilities 0.17, 0.76, and 0.10 for Low, Medium, and High. Sampling Medium and receiving a good return raises its probability; a poor return for High would suppress its probability. section 9.3




