From 459ce96fa8a0072d3533bc2dc1566cc1b797401b Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 4 Apr 2018 15:08:12 -0400 Subject: Documentation improvements --- R/gensvm.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'R/gensvm.R') diff --git a/R/gensvm.R b/R/gensvm.R index 8e1242e..db023e2 100644 --- a/R/gensvm.R +++ b/R/gensvm.R @@ -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) -- cgit v1.2.3