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!

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2018a

Question posée :

le 24 Juil 2020

Modifié(e) :

le 24 Juil 2020

Community Treasure Hunt

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

Start Hunting!

Translated by