Back to FabImage Studio website
You are here: Start » Filter Reference » Data Classification Common » CreateDataPartition
Divides input set to test and train set, trying to maintain balance in class distribution in both resulting sets.
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 here: Error Handling
Error type | Description |
---|---|
DomainError | Inconsistent size of inFeatureSet and inClassAssignment arrays |
Complexity Level
This filter is available on Expert Complexity Level.