You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

Calculation of Binary Entropy (Average Information Content)

Author: laftExecutions: 51605

※ This library was created by a member. This site is not responsible for its content.

Manage Bookmarks
This function calculates Shannon entropy (average information) when there are two possible outcomes from a source of information.
Be sure to use this when you want to know the return value of the binary entropy function!!
In short, this is a function that calculates the value of x*log₂(1/x) + (1-x)*log₂(1/(1-x)).
ProbabilityPlease enter the probability of one event occurring as a number between 0 and 1, inclusive.
Entropy bitReturns the calculated entropy.

No customer feedback for this calculation yet.