How can I deploy matlab-generated neural network function? error using mapminmax_apply
1 次查看(过去 30 天)
显示 更早的评论
We're using the genFunction to output the neural network classifier. We're trying to deploy the classifier on new input data - which has the same format (4 columns, many rows) as the original input data. Running the myNeuralNetworkFunction(NewData) gives the following error:
Undefined function 'mapminmax_apply' for input arguments of type 'double'.
Error in myNeuralNetworkFunctionv2 (line 35) xp1 = mapminmax_apply(x1,x1_step1_gain,x1_step1_xoffset,x1_step1_ymin);
Error in TestNeuralNetwork (line 15) a=myNeuralNetworkFunctionv2(NewData);
mapminmax_apply (generated by matlab) seems not to exist. We changed it to mapminmax.apply and got the following error message:
Error using apply Too many input arguments.
Error in myNeuralNetworkFunctionv2 (line 35) xp1 = mapminmax.apply(x1,x1_step1_gain,x1_step1_xoffset,x1_step1_ymin);
Error in TestNeuralNetwork (line 15) a=myNeuralNetworkFunctionv2(NewData);
Any help would be greatly appreciated
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!