We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Currently, we calculate the standard error by the formula
numerical_hessian = Optim.hessian!(func, opt_hyperparameters) std_err = diag(inv(numerical_hessian))
This is wrong, the correct should be
numerical_hessian = Optim.hessian!(func, opt_hyperparameters) std_err = sqrt.(diag(inv(numerical_hessian)))
but sometimes the values are negative which leads to a domain error when computing the sqrt.
sqrt
We should calculate using the outer product of gradients, this is not trivial. https://discourse.julialang.org/t/inconsistency-between-standard-errors-from-hessian-and-gradient-in-forwarddiff-optim/16769
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: