Loading Bayes Object Can't Find Objective Function
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello!
When I save my results of my bayesian optimization workspace, it saves the Bayes Object as a 1x1 BayesianOptimization. However, when I load that object again and attempt to resume it for more training, I get an error. When I look inside of my Bayes Object, I find it lists the ObjectiveFcn as @UNKNOWN Function.
I re-created the objective function in the code, and then tried to feed it in again as shown below, only to get the error message on the bottom line.
>> ObjFcn = bayesNetmakeObjFcn(Training_Data,test,test_truth_cat);
>> BayesObject.ObjectiveFcn = ObjFcn;
You cannot set the read-only property 'ObjectiveFcn' of BayesianOptimization.
Is there a way I can get my BayesObject to pick the objective function back up again so I can resume?
0 commentaires
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!