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

Added DropConnect Layer and its tests.Fixes #413 #552

Closed
wants to merge 2 commits into from

Conversation

abhinavchanda
Copy link

DropConnect Layer is based on Linear Layer, but with the difference that the weight matrix is multiplied by the random mask.I have also added tests, in which , the network architechture and size of hidden layer is same as that of the dropout layer in tests/feedforward_network_test.cpp.On my systems, the three tests are giving these classificationErrors:
Dropout DropConnect
1 0.0729288 0.0729288
2 0.02 0.02
3 0.134 0.068

In drop_connect_layer.hpp, we randomly drop weights instead of
units.This layer is based on linear_layer.hpp, with the exception
that the weights matrix is multiplied by the mask.
@abhinavchanda
Copy link
Author

@zoq I've added drop connect layer and also the tests. And the tests are passing on my system.Can you tell if any changes are required.

@palashahuja
Copy link
Contributor

@abhinavchanda, The code that you have written is only for a linear layer. This needs to be generalized.

@zoq
Copy link
Member

zoq commented Mar 23, 2016

Merged DropConnect implementation; take a look at #576.

@zoq zoq closed this Mar 23, 2016
@abhinavchanda
Copy link
Author

thanks for the reply.

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

Successfully merging this pull request may close these issues.

None yet

3 participants