public class OCRTutorial
extends java.lang.Object
Constructor and Description |
---|
OCRTutorial() |
Modifier and Type | Method and Description |
---|---|
static InstancesContainer |
getFold(InstancesContainer container,
int fold,
boolean isEqual)
Get a given fold from the whole dataset
|
static void |
main(java.lang.String[] args) |
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static InstancesContainer getFold(InstancesContainer container, int fold, boolean isEqual)
container
- all the ocr data from the all.letter.data filefold
- the requested foldisEqual
- if this boolean parameter is true only the examples from the requested fold will be returned,
otherwise all the examples besides the examples from the given fold number will be selected