exacity / deeplearningbook-chinese

Deep Learning Book Chinese Translation
https://exacity.github.io/deeplearningbook-chinese
35.84k stars 9.11k forks source link

第5.8节主成分出错求助 #229

Closed kate-chen closed 3 years ago

kate-chen commented 3 years ago

image 此处的图下说明,z等于x的转置乘于W image 但是这里又变成z等于=w的转置乘于x image 到了这地方又是 Z=XW 这三处z到底哪里出错

peng-shao commented 3 years ago

都没大错,如果非要说有小瑕疵的话,那就是第一处的z如果写成z’可能会歧义更小,因为一般来说,向量都是列向量而不是行向量。至于大写的X和Z作为矩阵,是由这些向量转置成后堆叠起来的,即X'=(x_1, x_2, \dots, x_n), Z'=(z_1, z_2, \dots, z_n)。所以W'X'=(W'x_1,W'x_2,\dots, W'x_n)=(z_1, z_2, \dots, z_n)=Z',即Z=XW