Neural network App designer
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I created an app that trains a neural network and then predicts different user inputs. I defined the net as app.net the whole training process, and I want to predict results with users input. I have problems with the predicting function, as the classify function gives me the following error, [YPred, scores] = classify(app.net1, User_NNPitstop'):
Error using classify (line 123)
Requires at least three arguments.
The predict function also gives me an error, and the test() gives NaN as a result.
The neural network whos net is class: network.
Thank you in advance!
0 Commenti
Risposte (1)
Philip Brown
il 4 Mag 2023
My guess is, instead of calling the classify() method of a deep neural network object, you are calling this classify function. That's likely happening because app.net1 is not the network object you expect it is.
Try using the debugger in AppDesigner to confirm the loaded network object is a deep neural network. It's possible that when you are importing the network (e.g. loading from file), you're not getting the network object you think you are.
0 Commenti
Vedere anche
Categorie
Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!