How to change the default range of hyperparameters in fitcecoc function?
Mostra commenti meno recenti
Is it possible to change the default paramater search range of fitcecoc function? I am trying to find the optimal paramters for SVM in custom range to reduce computational time. For example, I am trying to set below range for following parameters.
PolynomialOrder=[2,5]
Any suggestions in this regard would be highly appreciated.
Demo Example:
clc
clear all
load fisheriris
t = templateSVM();
results = fitcecoc(meas, species,'Learners',t,'OptimizeHyperparameters','auto',...
'HyperparameterOptimizationOptions',struct('Optimizer',...
'randomsearch'))
T=results.HyperparameterOptimizationResults
3 Commenti
Machine Learning Enthusiast
il 26 Lug 2021
Modificato: Machine Learning Enthusiast
il 26 Lug 2021
Don Mathis
il 26 Lug 2021
Walter Roberson's answer is correct. And then you pass 'params' as the value of the 'OptimizeHyperparameters' parameter.
Machine Learning Enthusiast
il 26 Lug 2021
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Support Vector Machine Regression in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!