From: jorge on
Hi.
My question is:
how can I get learning time (in secounds) from traing procedure when a use newff network. I know how to get epochs but how to get time in secounds (minutes)?
From: Greg Heath on
On Jun 5, 7:10 am, "jorge " <zjebanie12...(a)gmail.com> wrote:
> Hi.
> My question is:
> how can I get learning time (in secounds) from traing procedure when a use newff network. I know how to get epochs but how to get time in secounds (minutes)?

help tic
help toc

Hope this helps

Greg
From: jorge on
Yes, but I wanto to save this time to a variable.
Luckly I have done this like that:
[net,tr,Y,E,Pf,Af]=train(net,P,T);
trainingTime=floor(max(tr.time)/60)+mod(max(tr.time),60)/100; %(in minutes)
Maybe it will be helpfull for someone.

Thanks anyway Greg.
From: jorge on
"jorge " <zjebanie12345(a)gmail.com> wrote in message <hudeuk$l0$1(a)fred.mathworks.com>...
> Yes, but I wanto to save this time to a variable.
> Luckly I have done this like that:
> [net,tr,Y,E,Pf,Af]=train(net,P,T);
> trainingTime=floor(max(tr.time)/60)+mod(max(tr.time),60)/100; %(in minutes)
> Maybe it will be helpfull for someone.

Edit: Your method with tic and toc also could do the work:)
>
> Thanks anyway Greg.