-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,34 @@ | ||
# Entropy-Calucalator- | ||
Conations a python package for various entropy calculations | ||
|
||
<div id="headline" align="center"> | ||
<h1>Entropy-Calucalator</h1> | ||
<p>Conations a python package for various type of entropy calculations</p> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
### Requirements | ||
- None | ||
### Installation | ||
``` | ||
pip install entropyshannon | ||
``` | ||
|
||
### Basic example | ||
|
||
```py | ||
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)) | ||
|
||
|
||
``` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters