Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
1
Task/Entropy/Julia/entropy.julia
Normal file
1
Task/Entropy/Julia/entropy.julia
Normal file
|
|
@ -0,0 +1 @@
|
|||
entropy(s)=-sum(x->x*log(2,x), [count(x->x==c,s)/length(s) for c in unique(s)])
|
||||
Loading…
Add table
Add a link
Reference in a new issue