Calculate fewer of them?
If you don't setup your code to save intermediate results, then you cannot see
intermediate results.
On March 11, 2021 8:32:17 PM PST, "毕芳妮 via R-help" wrote:
>Dear list,
>I am using optim() to estimate over 60 thousans of parameters, and use
>the server to run the
Dear list,
I am using optim() to estimate over 60 thousans of parameters, and use the
server to run the program.But it took me 5 hours and there was just no result
coming out.How could I do to show some results that have been calculated by
optim()?
After Googling and trial and errors, the major cause of optimization was not
functions, but data setting.
Originally, I was using data.frame for likelihood calculation. Then, I changed
data.frame to vector and matrix for the same likelihood calculation. Now
convergence takes ~ 14 sec instead
Date: Thu, 14 Jul 2011 12:44:18 -0800
From: toshihide.hamaz...@alaska.gov
To: r-h...@stat.math.ethz.ch
Subject: Re: [R] Very slow optim(): solved
After Googling and trial and errors, the major cause of optimization was not
functions, but data
4 matches
Mail list logo