Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 613 Bytes

README.md

File metadata and controls

38 lines (21 loc) · 613 Bytes

Entropy-Calucalator

Conations a python package for various type of entropy calculations

PyPI version

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))