interpreting-rl-behavior / interpreting-rl-behavior.github.io

Code for the site https://interpreting-rl-behavior.github.io/
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

Fix gradient for loadings #5

Closed NixGD closed 2 years ago

NixGD commented 2 years ago

Also, import the new data set.

leesharkey commented 2 years ago

The maths in the code is correct. Evidence:

During the saliency experiments, gradients were calculated wrt PC-K at timestep 11. Correspondingly, now that we're projecting the gradients of hx onto the PCs, the gradients should most strongly project onto PC-K at t=11. This is indeed what we see:

image