Not LoadingCompactModel correctly. BinaryLoss are different

조회 수: 3 (최근 30일)
Javier Naranjo
Javier Naranjo 2018년 12월 10일
편집: Javier Naranjo 2018년 12월 10일
Hi everybody!
I am developing a ClassificationECOC. The main issue is that when I load it after saved it using "saveCompactModel" I get the following error:
Error using classreg.learning.classif.CompactClassificationECOC.fromStruct (line 795)
The BinaryLoss field in the input struct does not match the BinaryLoss property in the
constructed object.
Error in classreg.coderutils.structToModel (line 50)
obj = fromStructFcn(compactStruct);
Error in loadCompactModel (line 30)
compactObj = classreg.coderutils.structToModel(matFile.compactStruct);
I checked it and I realize that my Classificator stored contains 'quadratic' BinaryLoss and the object that Matlab is creating contains 'hinge' as BinaryLoss.
Does anybody know why this loading process is not correct?
Thanks in advance

답변 (0개)

카테고리

Help CenterFile Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by