Neural Network in Matlab App Designer

28 次查看(过去 30 天)
Is it possible to incorporate a Neural Network into an app created from the Matlab App Designer?
  6 个评论
Kojiro Saito
Kojiro Saito 2019-11-8
编辑:Kojiro Saito 2019-11-9
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.

请先登录,再进行评论。

采纳的回答

Kojiro Saito
Kojiro Saito 2019-2-12
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 个评论
Justin Primero
Justin Primero 2019-2-12
This has been very helpful. Thanks a lot, Kojiro Saito.
Fernando Hernandez
Fernando Hernandez 2022-4-13
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.

请先登录,再进行评论。

更多回答(1 个)

Pablo Salaverria
Pablo Salaverria 2019-6-10
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?

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by