Skip to main content

A python package for various type of entropy calculations(Specially Shannon)

Project description

Entropy-Calucalator

Conations a python package for various type of entropy calculations

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

entropyshannon-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file entropyshannon-0.0.2.tar.gz.

File metadata

  • Download URL: entropyshannon-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for entropyshannon-0.0.2.tar.gz
Algorithm Hash digest
SHA256 dc8b79cdd4479d94bc731ad14d15053cc9ba4c824a054307abb0f9b7af7184ee
MD5 649672eff02856f29506a93c6c2ee87a
BLAKE2b-256 4a3287655423137dbc6c366457668ed5a2e4f21b850e953b04dc9ba3d2b41dbc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page