Fitceoc for selection of feedforward Neural network parameters
7 views (last 30 days)
Show older comments
How to select best combination of hyperpapermeters using fitcecoc function. The optimizabale parameters are given below:
optimizableVariables
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.
clc
clear all
load fisheriris
t = templateSVM();
results = fitcecoc(meas, species,'Learners',t,'OptimizeHyperparameters','auto',...
'HyperparameterOptimizationOptions',struct('Optimizer',...
'randomsearch'))
0 Comments
Answers (1)
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.
0 Comments
See Also
Categories
Find more on Classification Ensembles 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!