KLD¶
Invariant Under Transformations¶
Let's make a transformation on p(y) using some nonlinear function f(). So that leaves us with y = f(x). So let's apply the change of variables formula to get the probability of y after the transformation.
Remember, we defined our function as y=f(x) so technically we don't have access to the probability of y. Only the probability of x. So we cannot take the derivative in terms of y. But we can take the derivative in terms of x. So let's rewrite the function:
Now, let's plug in this formula into our KLD formulation.
We still have two terms that need to go: dy and q(y). For the intergration, we can simply multiple by 1 to get dy\frac{dx}{dx} and then with a bit of rearranging we get: \frac{dy}{dx}dx. I'm also going to change the notation as well to get \left| \frac{dy}{dx} \right|dx. And plugging this in our formula gives us:
Now, we still have the distribution q(y).