Clear Filters
Clear Filters

Matlab Coder and the Classifica​tionNeural​Network model

2 views (last 30 days)
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.

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!