concentrationMetrics
A python library for the computation of various concentration, inequality and diversity indices
- 45
- Python
- MIT
- 6 d ago
A python library for the computation of various concentration, inequality and diversity indices
Entropy is a measure of the uncertainty in a random variable. This application calculates the entropy of text. The current example calculates the entropy of sequence "TTTAAGCC". In the context of information theory the term "Entropy" refers to the Shannon entropy.
This application calculates the entropy of a string. The focus of this implementation is represented by a specialized function called "entropy" which receives a text sequence as a parameter and returns a value that represents the entropy. Entropy is a measure of the uncertainty in a random variable.