フィルターのクリア

Loading Bayes Object Can't Find Objective Function

1 回表示 (過去 30 日間)
Grant Anderson
Grant Anderson 2020 年 9 月 3 日
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 件)

カテゴリ

Help Center および File ExchangeSupport Vector Machine Regression についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by