ml-glossary icon indicating copy to clipboard operation
ml-glossary copied to clipboard

Zh shape

Open leosilberg opened this issue 4 years ago • 1 comments

X Input (3, 1) Includes 3 rows of training data, and each row has 1 attribute (height, price, etc.)
Zh Hidden weighted input (1, 2) Computed by taking the dot product of X and Wh. The dimensions (1,2) are required by the rules of matrix multiplication. Zh takes the rows of in the inputs matrix and the columns of weights matrix. We then add the hidden layer bias matrix Bh.

https://github.com/bfortuner/ml-glossary/blob/master/docs/forwardpropagation.rst#id15

Should the Zh shape not be (3,2)?

leosilberg avatar Apr 15 '20 16:04 leosilberg

ya i also saw that and got confused. for sure there is a problem there because as it is the dot product is undefined.

omridrori avatar Dec 11 '20 09:12 omridrori