Use Bayesian Optimization on Broad Learning System? How to construct objective function?

I hope to use Bayesian optimization to determine the Broad Learning System‘s parameters for lithium battery life prediction. I want to use BO algotithm to determine the NumFea, NumWin, NumEnhan instead of using the Grid Search in the original program. How to construct the objective function and set parameters before using BO algorithm(BO algorithm has not determined the parameters)?
I have learned the CNN example 'https://www.mathworks.com/help/deeplearning/ug/deep-learning-using-bayesian-optimization.html'. Why is the second line has error? I am using Matlab2018a. Is the 'confusionchart' function been deleted?
figure('Units','normalized','Position',[0.2 0.2 0.4 0.4]);
cm = confusionchart(YTest,YPredicted);% error
cm.Title = 'Confusion Matrix for Test Data';
cm.ColumnSummary = 'column-normalized';
cm.RowSummary = 'row-normalized';
Thanks a lot!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2020년 7월 24일

편집:

2020년 7월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by