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

in the dropout python code #3

Open
Dungyichao opened this issue Jun 27, 2019 · 0 comments
Open

in the dropout python code #3

Dungyichao opened this issue Jun 27, 2019 · 0 comments

Comments

@Dungyichao
Copy link

Post: Drop Out Regularization
original code
Z1 = np.dot(W1.T, X) + b1 A = np.tanh(Z1) D = np.random.rand(A.shape[0], A.shape[1]) D = D < keep_prob A * D A = A / keep_prob Z2 = np.dot(W2.T, X) + b2

in the last line, I think it should be
Z2 = np.dot(W2.T, A) + b2

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

1 participant