Where to load a previous saved neural network

Hello.
I have this code
rede = patternnet;
net = train(rede, input, target);
exemple1 = net;
save exemple1;
where i train a network and save it because I want to have the same output the next time I run the code. Where exactly do I put load exemple1 ? Do I have to comment the rede = patternnet and net =train or should I leave it?

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 4 Jul 2018

Edited:

on 4 Jul 2018

Community Treasure Hunt

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

Start Hunting!