Getting the Training Time of a Neural Network

5 views (last 30 days)
Hello all,
i was just wondering on how to get the Time of the NN training. What i mean is, how do i save the value 'Time' as shown in the 'nntraintool' GUI ?. Thanks in advance.
  2 Comments
Greg Heath
Greg Heath on 19 Oct 2012
I don't know about using the GUI. However, if you use the command line
[ net tr ] = train(net,x,t);
then most of the training information is contained in the structure tr.
Type, without ending semicolon
tr = tr
Hope this helps.
Greg

Sign in to comment.

Answers (1)

Ameen Bassam
Ameen Bassam on 17 Oct 2021
After training just use
tr.time

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!