Skip to content
Prev 326808 / 398502 Next

Optimisation does not optimise!

Considering that I devised the code initially on a computer with only 8K 
bytes for program and data, and it appears that your problem has 10000 
parameters, I'm surprised you got any output. I suspect the printout is 
the BUILD phase where each weight is being adjusted in turn by the same 
shift.

Don't try to move the Titanic on a pram.

If you work out a gradient function, you can likely use Rcgmin (even 
though I wrote original CG in optim(), not recommended). spg from BB may 
also work OK.

This problem is near linear, so there are other approaches.

JN
On 13-07-13 06:00 AM, r-help-request at r-project.org wrote: