how to change nnstart's params in deep learning toolbox ?
9 views (last 30 days)
Show older comments
Hello, All
This is a question on matlab's nnstart.
Is there a way to change activation function( to tanh), num of epoch and wieght initialization settings in nnstart?
0 Comments
Accepted Answer
Shashank Gupta
on 22 Feb 2021
Hi,
Its not possible to change activation function from nnstart gui, You actually need to use fitnet or patternet function to initialise the model and then change the activation function there. Also you can decide on weight and bias initialisation in the same functions. Regarding the number of epoch, this functions generally stop training when validation loss become saturated. But this function does not provide flexibility to change the default number of epoch. If you wish to change a lot of things and define a lot of custom function to tackle you problem, I would recommend you to use deep learning framework such as trainNetwork or dlnetwork, These are more advanced and more flexible in choosing hyper parameters.
I hope this helps you,
Cheers
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox 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!