entropy function

Calculates the entropy

Calculates the entropy

A function that calculates the entropy

entropy(x)

Arguments

  • x: The probabilities P0 and P1

Returns

Returns the entropy

Author(s)

Murilo Montanini Breve

  • Maintainer: Fabricio Martins Lopes
  • License: GPL-3
  • Last published: 2023-08-16

Useful links