Hi,
I am new to R, and am working on some optimization problems - I was
wondering if there was a way that I could show all the iterations in R -i.e.
showing for each iteration, what the iteration is, how much the function is,
what the norm of the gradient would be...
Any help is greatly appreciated
Hi Pieter, thank you for your response.
I am indeed using the "optim" function. I had already tried the trace option
under the control argument - however it only provides me with iteration no.
10, 20, 30 etc. I would like to be able to generate the results for every
iteration.
Here is an example
Hi all,
I have a very quick question on how to use the summation sign in R for the
function.
Here“s a basic example: the function is sum(i=1 to 5)log(1-xi^2)
Id be grateful if someone knows how to do this without writing it out 5
times - I am looking sth along the lines of the following:
computeR
thank you vm for the reply! Just to make things a little more complicated
--does the equation hold even if the values of x are unknown? More
specifically perhaps we can still refer to the made up example
Sum(n equal 5)log(1-xi^2)
In the problem I am working on, I am writing a modified Newton Opt
4 matches
Mail list logo