Shannon entropy for binary vectors
Details
The probability \(p(1)\) corresponds to the normalized hamming_weight of the vector.
Shannon entropy for binary vectors
The probability \(p(1)\) corresponds to the normalized hamming_weight of the vector.