diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-04-03 23:55:11 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-04-03 23:55:11 +0100 |
| commit | 51209aa583d8f9bc701fd21937396798d7430bb3 (patch) | |
| tree | 136c6af421efc9cffbef053c088fdef89588becd /R | |
| parent | Roxygen update (diff) | |
| download | rgensvm-51209aa583d8f9bc701fd21937396798d7430bb3.tar.gz rgensvm-51209aa583d8f9bc701fd21937396798d7430bb3.zip | |
Remove todo item from wrapper
Diffstat (limited to 'R')
| -rw-r--r-- | R/gensvm.grid.R | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/R/gensvm.grid.R b/R/gensvm.grid.R index 5fa026e..d4b06b5 100644 --- a/R/gensvm.grid.R +++ b/R/gensvm.grid.R @@ -208,8 +208,8 @@ gensvm.grid <- function(x, y, param.grid='tiny', refit=TRUE, scoring=NULL, cv=3, as.integer(n.classes) ) - cv.results <- gensvm.cv.results(results, param.grid, cv.idx, - y.clean, scoring, + cv.results <- gensvm.cv.results(results, param.grid, cv.idx, y.clean, + scoring, return.train.score=return.train.score) best.index <- which.min(cv.results$rank.test.score)[1] |
