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

Do all the weights multiply the included probability p during testing? #15

Closed
dzhang22 opened this issue Jan 29, 2016 · 1 comment
Closed

Comments

@dzhang22
Copy link

I didn't find the code which de-weight model parameters by p during testing, as the original paper suggests. Is this correct or am I missing something?

@mdenil
Copy link
Owner

mdenil commented Jan 29, 2016

Reweighting happens here: https://github.com/mdenil/dropout/blob/master/mlp.py#L130

The reweighted pathway through the theano graph leads to negative_log_likelihood and errors here: https://github.com/mdenil/dropout/blob/master/mlp.py#L160 .

This pathway is used to construct the test function here: https://github.com/mdenil/dropout/blob/master/mlp.py#L240

@mdenil mdenil closed this as completed Jan 29, 2016
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