Requirements
- None
Installation
pip install entropyshannon
Basic example
from entropyshannon import *
string_entropy=shannon_entropy("12311331")
print(string_entropy)
probability_list=[1/2,1/3,1/10,7/10]
print(shannon_entropy_probability_list(probability_list))