powered by
Note one way holdout can leak target expected values, so it should not be preferred in nested modeling situations. Also, doesn't respect nSplits.
oneWayHoldout(nRows, nSplits, dframe, y)
number of rows to split (integer >1).
number of groups to split into (ignored).
original data frame (ignored).
numeric outcome variable (ignored).
split plan
# NOT RUN { oneWayHoldout(3,NULL,NULL,NULL) # }
Run the code above in your browser using DataLab