Neural Network in Matlab App Designer

28 vues (au cours des 30 derniers jours)
Justin Primero
Justin Primero le 12 Fév 2019
Is it possible to incorporate a Neural Network into an app created from the Matlab App Designer?
  6 commentaires
Kojiro Saito
Kojiro Saito le 8 Nov 2019
Modifié(e) : Kojiro Saito le 9 Nov 2019
The structure to be input in predict might be different.
How about changing as the follows?
function startupFcn(app)
app.net = load("C:\Predictor Demanda S.N.I\net\netdia.mat");
app.net = app.net.net;
end
If the above does not work, add a breakpoint in the line of
Y_predict = predict(app.net,Xp_prediccion);
and pause at this line. Then, what is a variable type of app.net? You can konw the variable type by whos command.
Juan Carlos Pozuelos Buezo
Thanks a lot. It works ok ?

Connectez-vous pour commenter.

Réponse acceptée

Kojiro Saito
Kojiro Saito le 12 Fév 2019
Yes, Neural Network (both shallow and deep neural networks) works with applications created by AppDesigner both for training and predict. Could you specify your use case, if possible?
  4 commentaires
Justin Primero
Justin Primero le 12 Fév 2019
This has been very helpful. Thanks a lot, Kojiro Saito.
Fernando Hernandez
Fernando Hernandez le 13 Avr 2022
Estoy creando un calisificador de sonidos cardiacos, mediante el modulo max4466 el cual es procesado con filtros analogicos y posteriormente digitalizado para su procesamiento digital. Una vez realizado esto, entrara a una red autoencoder, la cual tendra una base de datos con sonidos cardiacos, y asi determinar en que categoria entra el sonido, si en sanos o no sanos.

Connectez-vous pour commenter.

Plus de réponses (1)

Pablo Salaverria
Pablo Salaverria le 10 Juin 2019
Dear all,
while creating an app using app designer I am not able to compeltelly deploy my trainned CNN. My main issue is wiht the function classify which should be valid with:
[YPred]= classify(app.net,app.imds1);
Where app.net is the trainned CNN, app.imds1 is the imageDatastore where all the images that I want to classify are stored.
The error message that I got is:
Error using classify (line 123)
Requires at least three arguments.
Meaning that the function classify is using a 2nd options instead of the one that I want it to use. Is there a way to make it work?
  1 commentaire
Kojiro Saito
Kojiro Saito le 11 Juin 2019
I have just answered your question in this link. Please take a look.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by