Filter löschen
Filter löschen

How to use a trained neural network in matlab??

2 Ansichten (letzte 30 Tage)
saif ikbal
saif ikbal am 22 Apr. 2017
Kommentiert: Hamza Ashraf am 3 Aug. 2020
I am not using neural net toolbox rather I am using my own code to build a neural net model. Now after saving my neural net result, I want to test it with new data set. How to do this???

Antworten (2)

Ankit Bhardwaj
Ankit Bhardwaj am 24 Apr. 2017
Without knowing your custom neural network model, it is not possible for us to understand how it can be used to train new data set. However, you can basic workflow from the following example which shows how to classify new image data by fine tuning the existing, pretrained neural network.
https://www.mathworks.com/help/releases/R2017a/nnet/examples/transfer-learning-and-fine-tuning-of-convolutional-neural-networks.html
Since this is an example from Neural Network Toolbox, you need to have Neural Network Toolbox license to use some of the functions, but it can be used to learn some of the existing workflows.
  1 Kommentar
Hamza Ashraf
Hamza Ashraf am 3 Aug. 2020
hi i have tarined a network to detect specific sound now how can i use it. i want to provide audio coming from mike to network. can you tell me how to do that

Melden Sie sich an, um zu kommentieren.


Greg Heath
Greg Heath am 25 Apr. 2017
If you have saved the net, try
ynew = net( xnew );
enew = tnew - ynew;
NMSEnew = mse( enew )/ mean( var( tnew',1 ))
Hope this helps.
Thank you for formally accepting my answer
Greg
  1 Kommentar
Hamza Ashraf
Hamza Ashraf am 3 Aug. 2020
hi i have tarined a network to detect specific sound now how can i use it. i want to provide audio coming from mike to network. can you tell me how to do that

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by