필터 지우기
필터 지우기

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 CenterFile Exchange에서 Support 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