How do I write a newton optimizer in R?

后端 未结 0 1849
一生所求
一生所求 2020-12-05 02:37

suppose that my function to be optimized is f <- function(theta,k){ z<-theta[1]; x <- theta[2] k*(z-x^2)^2 + (1-x)^2}

And I want to write an op

相关标签:
回答
  • 消灭零回复
提交回复
热议问题