Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zh shape #99

Open
leosilberg opened this issue Apr 15, 2020 · 1 comment
Open

Zh shape #99

leosilberg opened this issue Apr 15, 2020 · 1 comment

Comments

@leosilberg
Copy link

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)?

@omridrori
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants