Hello, I'm using a neural network to analyze a time series dataset with roughly 15,000 lines of data. I'm running abundance data against environmental variables looking for correlations. I'm running the network 100 times for each different parameter to get accurate results. The issue i'm having is that the network is only outputting the results from the last run and I'd like to save them all.
I've incorporated the following into the end of my network to try and save the outputs, targets, p-values, and r2 for each run
outputmat(p:q,1) = targets;
outputmat(p:q,2) = outputs;
but it is still just saving the last batch of results. Any clue how to get it to save all the data i'm looking for?