Loading Bayes Object Can't Find Objective Function
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Naive Bayes finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!