Matlab Coder and the Classifica​tionNeural​Network model

5 ビュー (過去 30 日間)
Lawrence Berman
Lawrence Berman 2021 年 5 月 3 日
回答済み: Shiva Kalyan Diwakaruni 2021 年 5 月 6 日
Matlab Coder : Is the ClassificationNeuralNetwork model supported for code generation?
When I try to save the model using saveLearnerForCoder, I get the following error:
First argument must be a classification, regression, or nearest neighbor searcher model supported for code
generation.

回答 (1 件)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni 2021 年 5 月 6 日
Hi,
The above error is occurring because saveLearnerForCoder does not support ClassificationNeuralNetwork model for code generation.
check the below link to see which model objects are supported for code generation by saveLearnerForCoder
Hope it helps.

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by