diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-04-04 15:08:12 -0400 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-04-04 15:08:12 -0400 |
| commit | 459ce96fa8a0072d3533bc2dc1566cc1b797401b (patch) | |
| tree | 229a5d9b137f7fcf3b5112e4a189e972d6dafa26 /R/gensvm.R | |
| parent | Ensure classes isn't a factor (diff) | |
| download | rgensvm-459ce96fa8a0072d3533bc2dc1566cc1b797401b.tar.gz rgensvm-459ce96fa8a0072d3533bc2dc1566cc1b797401b.zip | |
Documentation improvements
Diffstat (limited to 'R/gensvm.R')
| -rw-r--r-- | R/gensvm.R | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -13,6 +13,9 @@ #' @param lambda regularization parameter for the loss function (lambda > 0) #' @param kappa parameter for the hinge function in the loss function (kappa > #' -1.0) +#' @param epsilon Stopping parameter for the optimization algorithm. The +#' optimization will stop if the relative change in the loss function is below +#' this value. #' @param weights type or vector of instance weights to use. Options are 'unit' #' for unit weights and 'group' for group size correction weights (eq. 4 in the #' paper). Alternatively, a vector of weights can be provided. @@ -92,7 +95,7 @@ #' fit <- gensvm(x, y) #' #' # fit and show progress -#' fit <- gensvm(x, y, verbose=T) +#' fit <- gensvm(x, y, verbose=TRUE) #' #' # fit with some changed parameters #' fit <- gensvm(x, y, lambda=1e-8) |
