Closed miaozhang0525 closed 4 years ago
It is because $J$ is the Jacobian of the encoder g
rather than the generator f
, and $$g \approx f^{-1}$$
It is because $J$ is the Jacobian of the encoder
g
rather than the generatorf
, and $$g \approx f^{-1}$$
Hi, HelloSeeing,
Really thanks for your explanation. I got it!!
When you calculate logD = np.sum(np.log(np.abs(s))) # | \mathrm{det} S^{-1} | is that should be logD = -np.sum(np.log(np.abs(s))) # | \mathrm{det} S^{-1} |
Because you are calculating the inverse of the matrix.