Genetic algorithm to optimize hyperparameters in a Deep learning net
12 views (last 30 days)
Show older comments
Renita Raidoo
on 30 May 2020
Commented: Muhammad Mohsin Khan
on 28 Jun 2020
Hi all
I have made a network using the deep learning toolbox with various hyperparameters such as mini-batch size and number of neurons per layer etc. Currently I am using a grid search to find the best combinations but is there a way to use the genetic algortihm in the Optimization toolbox to find the best architecture? I have read similar threads but none seem to explain how one could achieve this. Any explanations or examples of code would be really appreciated!
1 Comment
Muhammad Mohsin Khan
on 28 Jun 2020
Hello Raidoo,
Will you like to share your Grid search or GA code for deep learning time series data ? If can not any other help ?
Thanks
Accepted Answer
Dinesh Yadav
on 2 Jun 2020
Hi Renita,
Kindly go through the following code in File Exchange
And also this thread
Hope it gives you some insights.
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm 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!