Start » Filter Reference » Data Classification » Data Classification Common » CreateDataPartition
Module: | FoundationPro |
---|
Divides the input set to test and train subsets, trying to maintain balance in class distribution.
Name | Type | Range | Description | |
---|---|---|---|---|
inFeatureSet | RealArrayArray | |||
inClassAssignment | IntegerArray | |||
inTestToTrainingRatio | Real | 0.0 - 1.0 | ||
inRandomSeed | Integer | |||
outTrainSet | RealArrayArray | |||
outTrainResponse | RealArrayArray | |||
outTestSet | RealArrayArray | |||
outTestResponse | RealArrayArray |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Inconsistent size of inFeatureSet and inClassAssignment arrays |
Complexity Level
This filter is available on Expert Complexity Level.