diff options
author | Suraj Yerramilli | 2015-12-29 19:06:37 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-12-29 19:06:37 +0530 |
commit | d856b59f3cd30abcc7c173119f306d3c6432f3de (patch) | |
tree | bb0b5a8cdbf96619fe293adf13825b39a67853aa | |
parent | 91409cf96d904ae47d347496014266af1875cc3f (diff) | |
download | SysID-R-code-d856b59f3cd30abcc7c173119f306d3c6432f3de.tar.gz SysID-R-code-d856b59f3cd30abcc7c173119f306d3c6432f3de.tar.bz2 SysID-R-code-d856b59f3cd30abcc7c173119f306d3c6432f3de.zip |
documentation for optimOptions
-rw-r--r-- | R/estUtil.R | 13 | ||||
-rw-r--r-- | man/optimOptions.Rd | 25 |
2 files changed, 38 insertions, 0 deletions
diff --git a/R/estUtil.R b/R/estUtil.R index 1451326..bde025c 100644 --- a/R/estUtil.R +++ b/R/estUtil.R @@ -100,6 +100,19 @@ levbmqdt <- function(...,obj,theta0,N,opt){ termination=list(WhyStop=WhyStop,iter=i,FcnCount = countObj)) } +#' Create optimization options +#' +#' Specify optimization options that are to be passed to the +#' numerical estimation routines +#' +#' @param tol Minimum ratio of the improvement to the current loss +#' function. Iterations stop if this ratio goes below the tolerance +#' limit (Default: \code{1e-5}) +#' @param maxIter Maximum number of iterations to be performed +#' @param LMinit Starting value of search-direction length +#' in the Levenberg-Marquardt method. +#' @param LMstep Size of the Levenberg-Marquardt step +#' #' @export optimOptions <- function(tol=1e-5,maxIter=20,LMinit=2,LMstep=2){ return(list(tol=tol,maxIter= maxIter, adv= list(LMinit=LMinit, diff --git a/man/optimOptions.Rd b/man/optimOptions.Rd new file mode 100644 index 0000000..a0b4ef6 --- /dev/null +++ b/man/optimOptions.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2 (4.1.1): do not edit by hand +% Please edit documentation in R/estUtil.R +\name{optimOptions} +\alias{optimOptions} +\title{Create optimization options} +\usage{ +optimOptions(tol = 1e-05, maxIter = 20, LMinit = 2, LMstep = 2) +} +\arguments{ +\item{tol}{Minimum ratio of the improvement to the current loss +function. Iterations stop if this ratio goes below the tolerance +limit (Default: \code{1e-5})} + +\item{maxIter}{Maximum number of iterations to be performed} + +\item{LMinit}{Starting value of search-direction length +in the Levenberg-Marquardt method.} + +\item{LMstep}{Size of the Levenberg-Marquardt step} +} +\description{ +Specify optimization options that are to be passed to the +numerical estimation routines +} + |