Prev: fprintf cellarray with different data type
Next: getting the x and y coordinates of all the pixels in an image
From: jorge on 5 Jun 2010 07:10 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 5 Jun 2010 07:43 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 5 Jun 2010 08:12 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 5 Jun 2010 08:21
"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. |