course-content
course-content copied to clipboard
Deep Learning: tutorial 3, possible zscore axis inconsistency with mathematical formulation
Hi, I was reviewing the materials for W2D1_Tutorial3, specifically Section 2.1 (see the screenshot). This indicates that the mean and stdev are calculated for every stimulus (row-wise). However, in the corresponding code, zscore is applied across the columns (axis = 1, that is: for every neuron). Is this a mistake in the original code or am I interpreting things wrong?
Here is the code where the zscore function is called as part of the RDM function:
I believe the axis should be 0 so that the mean and stdev are calculated for the responses to each stimuli, but I'm not 100% sure.
Thanks in advance!