Can I resume training a neural network with a different data set?
Show older comments
Table=AM03_a02b;
Matrix=Table{:,:};
Input=Matrix(1:end,1:7);
Output=Matrix(1:end,8:15)';
ANN=newff(Input,Output,[100 100 100 100 100 100]);
ANN.trainParam.max_fail=1000;
ANN.trainParam.epochs=10000;
ANN.trainFcn = 'trainbr';
ANN=train(ANN,Input,Output);
view(ANN)
I have a table that is 2.3 million row by 15 columns where the first 7 columns are the inputs and the last 8 columns are the outputs. My goal is to train a neural network such that I can give it any combination of the 7 inputs and it will output the best estimate of the 8 output values.
The thing is sometimes, when a combination of input values that is not expliclity defined in the training data (table) is given to the neural network, the simulation outputs a very poor estimate with high amount of errors. So my plan to avoid this was by doing the following:
After the data is done training on the gigantic table I have, I will want to build 10000 random cases of inputs (a random matrix that is 10000 by 7). Then I will use the neural network and check the average error on each case (error between the neural network output and the actual numbers), if the error is higher than 5%, I will retrain the network on the new 10000 cases.
The problem, I dont want to re-train the network on all the cases (2.3 million + 10000) again, I just want to use my already trained network and train it on the 10000 only. Is that possible? Do you guys have any additional suggestions?
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!