Neural Network in Matlab App Designer

23 visualizzazioni (ultimi 30 giorni)
Is it possible to incorporate a Neural Network into an app created from the Matlab App Designer?
  6 Commenti
Kojiro Saito
Kojiro Saito il 8 Nov 2019
Modificato: Kojiro Saito il 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 ?

Accedi per commentare.

Risposta accettata

Kojiro Saito
Kojiro Saito il 12 Feb 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 Commenti
Justin Primero
Justin Primero il 12 Feb 2019
This has been very helpful. Thanks a lot, Kojiro Saito.
Fernando Hernandez
Fernando Hernandez il 13 Apr 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.

Accedi per commentare.

Più risposte (1)

Pablo Salaverria
Pablo Salaverria il 10 Giu 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?

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by