vtreat (version 1.6.4)

problemAppPlan: check if appPlan is a good carve-up of 1:nRows into nSplits groups

Description

check if appPlan is a good carve-up of 1:nRows into nSplits groups

Usage

problemAppPlan(nRows, nSplits, appPlan, strictCheck)

Value

problem with carve-up (null if good)

Arguments

nRows

number of rows to carve-up

nSplits

number of sets to carve-up into

appPlan

carve-up to critique

strictCheck

logical, if true expect application data to be a carve-up and training data to be a maximal partition and to match nSplits.

See Also

kWayCrossValidation, kWayStratifiedY, and makekWayCrossValidationGroupedByColumn

Examples

Run this code

plan <- kWayStratifiedY(3,2,NULL,NULL)
problemAppPlan(3,3,plan,TRUE)

Run the code above in your browser using DataLab