ml-glossary
ml-glossary copied to clipboard
Zh shape
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)?
ya i also saw that and got confused. for sure there is a problem there because as it is the dot product is undefined.