You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (n_inner_folds!= length(inner_folds)) stop("Mismatch between n_inner_folds and length(inner_folds)")
but I think it should say:
if (n_inner_folds!= length(inner_folds[[1]])) stop("Mismatch between n_inner_folds and length(inner_folds)")
I haven't had a chance to test this yet, but I will be soon, since I have a situation where I need to manually generate both outer and inner folds. My expectation is that the code in its current state will always throw an error if length(inner_folds[[1]]) != length(inner_folds).
The text was updated successfully, but these errors were encountered:
I was reading the code of
nestcv.train
and I noticed this line: https://github.com/myles-lewis/nestedcv/blob/main/R/nestcv.train.R#L278C7-L278C111Currently it says:
but I think it should say:
I haven't had a chance to test this yet, but I will be soon, since I have a situation where I need to manually generate both outer and inner folds. My expectation is that the code in its current state will always throw an error if
length(inner_folds[[1]]) != length(inner_folds)
.The text was updated successfully, but these errors were encountered: