Skip to content

Commit

Permalink
hardcode crossvalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyTedde committed Feb 24, 2020
1 parent 89a0a1c commit 12f4c1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/t_outlier_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ t_outlier_test_internal <- function(x,
index <- caret::groupKFold(data[outliers, ][[group]], k = k)
arguments <- c(
arguments,
list(trControl = caret::trainControl(index = index))
list(trControl = caret::trainControl(method = "cv",
index = index))
)
}, error = function(e){
stop(e)
Expand Down

0 comments on commit 12f4c1a

Please sign in to comment.