Hi Felicia Ojinji,
- It is my understanding that you want to calculate how much time has been taken by your network to train. You may find "tic" and "toc" functions useful. Below code
tic
A = rand(12000,4400);
B = rand(12000,4400);
toc
The above code gives the elapsed time, in seconds ,between tic and toc. In other words time taken to generate matrices A and B. You may place your code between tic and toc to get the time taken by those lines of code to run.
- You can also use "trainingOptions" for plotting training progress, where information about elapsed time is also given. To plot training progress during training, specify 'training-progress' as the 'Plots' value in trainingOptions. Here is an example that shows how to plot training progress.