Use trainNetwork funcion to train a feedforwad net
2 views (last 30 days)
Show older comments
Does the trainNetwork function can only be used to train CNNs and LSTMs as written in the documentation or can I use it to train a feedforwad net as well?
My idea was to create the ImageInputLayer the size of my feature vector and then use a couple of fullyConnectedLayers followed by RELULayers and dropoutLayers. The reason to want to use this intead of the regular feedforwardnet and train functions are the possibilities to use ReLU and dropout, more flexibility to choose the training parameters, and the usage of the ImageDatastore structure.
Will this method give me similar results to when feedforward and train are used or the way the trainNetwork function is implemented is not recommended for feedforward-only training?
0 Comments
Answers (1)
Saeed Mohammadi
on 4 Sep 2019
Hi,
I think this is a very interesting question. Can someone comment on this?
Thanks.
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!