gensvm.generate.cv.idx | R Documentation |
This function generates a vector of length n
with values from 0 to
folds-1
to mark train and test splits.
gensvm.generate.cv.idx(n, folds)
n |
the number of instances |
folds |
the number of cross validation folds |
an array of length n
with values in the range [0, folds-1]
indicating the test fold of each instance.
Gerrit J.J. van den Burg, Patrick J.F. Groenen
Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com>
Van den Burg, G.J.J. and Groenen, P.J.F. (2016). GenSVM: A Generalized Multiclass Support Vector Machine, Journal of Machine Learning Research, 17(225):1–42. URL https://jmlr.org/papers/v17/14-526.html.
gensvm.grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.