powered by
check if appPlan is a good carve-up of 1:nRows into nSplits groups
problemAppPlan(nRows, nSplits, appPlan, strictCheck)
number of rows to carve-up
number of sets to carve-up into
carve-up to critique
logical, if true expect application data to be a carve-up and training data to be a maximal partition and to match nSplits.
problem with carve-up (null if good)
kWayCrossValidation, kWayStratifiedY, and makekWayCrossValidationGroupedByColumn
kWayCrossValidation
kWayStratifiedY
makekWayCrossValidationGroupedByColumn
# NOT RUN { plan <- kWayStratifiedY(3,2,NULL,NULL) problemAppPlan(3,3,plan,TRUE) # }
Run the code above in your browser using DataLab