aboutsummaryrefslogtreecommitdiff
path: root/man/gensvm.Rd
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2018-04-04 15:08:12 -0400
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2018-04-04 15:08:12 -0400
commit459ce96fa8a0072d3533bc2dc1566cc1b797401b (patch)
tree229a5d9b137f7fcf3b5112e4a189e972d6dafa26 /man/gensvm.Rd
parentEnsure classes isn't a factor (diff)
downloadrgensvm-459ce96fa8a0072d3533bc2dc1566cc1b797401b.tar.gz
rgensvm-459ce96fa8a0072d3533bc2dc1566cc1b797401b.zip
Documentation improvements
Diffstat (limited to 'man/gensvm.Rd')
-rw-r--r--man/gensvm.Rd6
1 files changed, 5 insertions, 1 deletions
diff --git a/man/gensvm.Rd b/man/gensvm.Rd
index b6c9bf0..4f5d614 100644
--- a/man/gensvm.Rd
+++ b/man/gensvm.Rd
@@ -24,6 +24,10 @@ function (i.e. \code{model.matrix( ~ var - 1)}).}
\item{kappa}{parameter for the hinge function in the loss function (kappa >
-1.0)}
+\item{epsilon}{Stopping parameter for the optimization algorithm. The
+optimization will stop if the relative change in the loss function is below
+this value.}
+
\item{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.}
@@ -99,7 +103,7 @@ y <- iris[, 5]
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)