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 /man/gensvm.train.test.split.Rd | |
| parent | Ensure classes isn't a factor (diff) | |
| download | rgensvm-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.Rd | 8 |
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 |
