allennlp.training.metrics.entropy#

Entropy#

Entropy(self) -> None

get_metric#

Entropy.get_metric(self, reset:bool=False)

Returns

The scalar average entropy.

reset#

Entropy.reset(self)

Reset any accumulators or internal state.