loadLearnerForCoder failing to load model

조회 수: 2 (최근 30일)
Savannah D
Savannah D 2024년 1월 22일
답변: Drew 2024년 1월 24일
I have a model that I have successfully saved using saveLearnerForCoder, however, whenever I try to load it, I get the error: "Model not supported for code generation." Does anyone have any additional ideas on how to load it or how else to load it? Using load() does not work. Thanks!

답변 (1개)

Drew
Drew 2024년 1월 24일
The documentation page https://www.mathworks.com/help/stats/savelearnerforcoder.html, in the section for the Input Arguments https://www.mathworks.com/help/stats/savelearnerforcoder.html#bvclu99-2, includes a table showing the supported models for code generation. Is your model object on that list? If your model is not on that list, switch to a model that is on the list. If your model is on that list, contact MathWorks support with your issue.
If this answer helps you, please remember to accept the answer.

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by