两种0/1序列的熵

两种定义方法

1.考虑 s=[0,1]^d  如果d位里有a位为1,则考虑p=a/d  H(S)=p*log(p)+(1-p)log(p).

2.考虑同样的s, 令 x=a/d, p=p(x), H(S)=sum(p*log(p), for all s).

受了张江老师的“两种熵”启发

Leave a Reply

Your email address will not be published. Required fields are marked *