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

9 views (last 30 days)
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!

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!