Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -6,7 +6,7 @@ func entropy s$ .
|
|||
for cnt in d[]
|
||||
if cnt > 0
|
||||
prop = cnt / len s$
|
||||
entr -= (prop * logn prop / logn 2)
|
||||
entr -= (prop * log10 prop / log10 2)
|
||||
.
|
||||
.
|
||||
return entr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue