course-content icon indicating copy to clipboard operation
course-content copied to clipboard

Deep Learning: tutorial 3, possible zscore axis inconsistency with mathematical formulation

Open alceballosa opened this issue 2 years ago • 0 comments

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?

imagen

Here is the code where the zscore function is called as part of the RDM function:

imagen

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!

alceballosa avatar Jul 12 '21 23:07 alceballosa