Fitceoc for selection of feedforward Neural network parameters

3 views (last 30 days)
How to select best combination of hyperpapermeters using fitcecoc function. The optimizabale parameters are given below:
epochs = [5, 10]
learning rate= [0.1, 1]
optimizers = ['rmsprop', 'adam']
activation1 = ['relu','sigmoid']
I have seen that fitcecoc function is used for SVM and other classifiers but how to tune the parameters of feedforward neural network paparameters.
clear all
load fisheriris
t = templateSVM();
results = fitcecoc(meas, species,'Learners',t,'OptimizeHyperparameters','auto',...

Answers (1)

Shivam Singh
Shivam Singh on 1 Sep 2021
Yes, there is an automatic hyperparameter optimization in fitcecoc function, which is used in various algorithm like SVM etc.
For the neural networks like feedforward neutral network, there is an effective hyperparameter optimization technique called Bayesian optimization.
Below links are examples which apply Bayesian optimization for finding optimal network hyperparameters and training options for convolutional neural networks. Similar to this, optimal hyperparameters for feedforward neural network can also be implemented using this approach.


Find more on Statistics and Machine 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!