How can I reuse the same neural network to recreate the same results I had while training/creating the network?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Karthik
am 5 Mär. 2014
Beantwortet: Greg Heath
am 16 Mär. 2014
Hello,
I am new to neural networking, so my question may sound stupid.
I have trained/created a neural network, I have saved the script of the network, but each time I run the script, it gives different R values. How can I get the same R value I had while training the network and how do I plug in new input data to see the results by using the same network.
0 Kommentare
Akzeptierte Antwort
Greg Heath
am 16 Mär. 2014
I don't think you want to save the script.
You want to save the net
save net
Hope this helps.
Greg
0 Kommentare
Weitere Antworten (2)
the cyclist
am 5 Mär. 2014
Presumably you need to set the random number generator seed.
If you have a relatively new version of MATLAB, you can do this with the rng() command, for example, put
rng(1)
at the beginning of your code.
doc rng
for details.
2 Kommentare
Karthik
am 6 Mär. 2014
1 Kommentar
Greg Heath
am 8 Mär. 2014
Please do not use the ANSWER box for comments. In this case
1. copy your comments in the answer bos
2. paste them in the comment box
3. delete your answer box
Siehe auch
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!