Hyperparameter Optimization in ECOC classifier: which loss function is used?
古いコメントを表示
Dear, I'm training an ECOC classifier using knn as the base classifier.
I would like to use the option 'OptimizeHyperparameters','auto' to let fitcecoc apply leave one out cross validation the best Coding, NumNeighbors, distace parameters.
tknn = templateKNN();
mdlknnCecoc = compact(fitcecoc(XKnn,labelsRed, ...
'OptimizeHyperparameters','all', ...
'HyperparameterOptimizationOptions',struct( 'UseParallel',...
true,'CVPartition',c), 'Learners',tknn));
In MATLAB help I read: " The optimization attempts to minimize the cross-validation loss (error) for fitcecoc by varying the parameters."
However, which loss function is used? I found no detail about that.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Classification Ensembles についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!