My iterations go extremely slowly, so I suspect having an error in my derivatives. Can someone take a look to them and see if all is ok? Thank you:
Code:
u = u - learning.rate*2*(u*exp(v)-2*v*exp(-u))*(exp(v)+2*v*exp(-u))
v = v - learning.rate*2*(u*exp(v)-2*v*exp(-u))*(u*exp(v)-2*exp(-u))