Optim in Julia attempts extreme values that lead to numerical errors (NaN)

前端 未结 0 988
梦毁少年i
梦毁少年i 2021-01-22 08:16

I have an objective function that looks like

function myfun(θ, x)
    logτ = θ
    s(ϵ) = 1.0/sqrt(exp(logτ)) * ϵ
    p(ϵ) = 1/(1 + 0.5 * exp((0.5 - s(ϵ))*exp(log         


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