Grid Search Function for Neural Networks

Version 1.0.0.0 (2,4 KB) von caghangir
Grid Search Function for Neural Networks
584 Downloads
Aktualisiert 26. Mai 2017

Lizenz anzeigen

I created this function for my projects to find best hyper-parameters of Neural Networks.
It takes 5 different hyper-parameters such as;
- hidden node size of layer 1
- hidden node size of layer 2
- optimizer type
- maximum epoch
- transfer function
There is an example code block top of the function. You just add which hyper-parameters you want to try. Function will try 10-fold cross validation of each combination that is created using your hyper-parameters. Finally, find best hyper-parameter combination and return these as cell. You can use the cell directly as parameters of your Neural Network.
You need to give train with label, function automatically create %90 train %10 validation dataset.
New version is coming with more features.

Zitieren als

caghangir (2025). Grid Search Function for Neural Networks (https://de.mathworks.com/matlabcentral/fileexchange/63132-grid-search-function-for-neural-networks), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2016a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

minor fixed