Package gmisclib :: Module matrix_arrange_entropy
[frames] | no frames]

Module matrix_arrange_entropy

source code

This rotates a matrix by multiplying with a unitary matrix so that the resulting elements are either nearly zero or relatively large. It minimizes sum of |x_ij|*log(|x_ij|), i.e. the entropy (sortof).

Functions
 
make_min_entropy(x, extra_entropy=0.0)
extra_entropy is a vector that helps choose what to optimize.
source code
 
test2() source code
 
test3() source code
Variables
  __package__ = 'gmisclib'

Imports: math, Num, mcmc, mcmc_helper, gpkmisc