entropy
[ allennlp.training.metrics.entropy ]
Entropy Objects#
class Entropy(Metric):
| def __init__(self) -> None
get_metric#
| @overrides
| def get_metric(self, reset: bool = False)
Returns
- The scalar average entropy.
reset#
| @overrides
| def reset(self)