I have a question about the way entropy is calculated for the NDArrays. I have some negative values for Shannon Entropy and a lot of NaNs for log entropy. Is it expected?
I created a gist with an example of a matrix that will return a negative entropy value. The same matrix in Octave returns a positive value.