Matlab Coder and the Classifica​tionNeural​Network model

1 view (last 30 days)
Lawrence Berman
Lawrence Berman on 3 May 2021
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

Answers (1)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni on 6 May 2021
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.

Community Treasure Hunt

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

Start Hunting!

Translated by