| ceres_control | R Documentation |
Options for ceres_nls. The defaults of function_tol and
parameter_tol are tighter than those of Ceres Solver (1e-6 and
1e-8), which can stop noticeably short of the solution. The other
defaults are those of Ceres Solver.
ceres_control(max_iter = 50, function_tol = 1e-10, gradient_tol = 1e-10,
parameter_tol = 1e-10, method = c("lm", "dogleg"),
diff = c("central", "forward"), trace = FALSE)
max_iter |
the maximum number of iterations of each solve. A fit with
parameters at a bound can have several, see |
function_tol |
stop when the relative change in the cost is below this. |
gradient_tol |
stop when the largest gradient element is below this. |
parameter_tol |
stop when the relative step size is below this. |
method |
the trust region strategy: Levenberg-Marquardt or dogleg. |
diff |
the finite differences used when |
trace |
if |
A list of class "ceres_control".
ceres_nls
ceres_control(max_iter = 200, method = "dogleg")$max_iter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.