aboutsummaryrefslogtreecommitdiff
path: root/man/gensvm.train.test.split.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.train.test.split.Rd
parentEnsure classes isn't a factor (diff)
downloadrgensvm-459ce96fa8a0072d3533bc2dc1566cc1b797401b.tar.gz
rgensvm-459ce96fa8a0072d3533bc2dc1566cc1b797401b.zip
Documentation improvements
Diffstat (limited to 'man/gensvm.train.test.split.Rd')
-rw-r--r--man/gensvm.train.test.split.Rd8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/gensvm.train.test.split.Rd b/man/gensvm.train.test.split.Rd
index fe2b1fb..261f7d1 100644
--- a/man/gensvm.train.test.split.Rd
+++ b/man/gensvm.train.test.split.Rd
@@ -27,6 +27,14 @@ of 0.25 will be used.}
\item{shuffle}{shuffle the rows or not}
\item{random.state}{seed for the random number generator (int)}
+
+\item{return.idx}{whether or not to return the indices in the output}
+}
+\value{
+a list with \code{x.train} and \code{x.test} splits of the \code{x}
+array provided. If \code{y} is provided, also \code{y.train} and
+\code{y.test}. If \code{return.idx} is TRUE, also \code{idx.train} and
+\code{idx.test}.
}
\description{
Often it is desirable to split a dataset into a training and