DeepLearning icon indicating copy to clipboard operation
DeepLearning copied to clipboard

Enhance MLP to support multi-hidden-layers in an easy way

Open gutouyu opened this issue 8 years ago • 3 comments

Multi-hidden-layers MLP

The original MLP only has one-hidden-layer. I just Modify it to support a multi-hidden-layer in an easy way. You just need to tell MLP the hidden size in a python list. It is very convenient to experiment in multi-layers.

In the end of the file, I made a MLP with three-hidden-layers, and the test passed.

[[  5.17868684e-05   9.99948213e-01]
 [  9.99878554e-01   1.21445770e-04]
 [  9.99889287e-01   1.10712980e-04]
 [  1.34578242e-04   9.99865422e-01]]

Also, I don't know whether the owner still watch this project, but I am great interested in making the project better by implementing some other features, such as CNN,RNN, Momentum/Sgd_momentum/Adam/RmsProp etc.

Plz Let Me know if you allow me to do this. I'm very glad to hear from you.Thank you. @yusugomori

gutouyu avatar Sep 21 '17 13:09 gutouyu

Is there anyone who is maintaining this project?So sad no response :(

gutouyu avatar Sep 23 '17 01:09 gutouyu

I'm not sure if anyone is maintaing but I suggest you can fork the project of not.

rwolst avatar Sep 23 '17 07:09 rwolst

@rwolst Thanks, I have already fork this project and make this PR. Just want to make some contributions to this project as well as learn deep learning by implementing it. I'd be very glad if the code was accepted.

gutouyu avatar Sep 23 '17 07:09 gutouyu