public static class FoldParser.SplitPolicy extends Object
enum
.
The four implemented splitting strategies are described below. Note that in all cases except "Manual", the size of the folds are as equal as possible, with any extra examples allocated to earlier folds.
- Sequential
- The examples are simply partitioned into sequential folds.
- kth
- Every kth example is in the same fold.
- Random
- Examples are randomly assigned to folds.
- Manual
- Same as sequential, except fold boundaries are indicated by an appearance of the
FoldSeparator
in place of an example object.
Modifier and Type | Field and Description |
---|---|
static FoldParser.SplitPolicy |
kth
Represents the split policy in which every kth example is part of the same
fold.
|
static FoldParser.SplitPolicy |
manual
Represents the split policy in which the user manually inserts fold separation objects.
|
static FoldParser.SplitPolicy |
random
Represents the random split policy.
|
static FoldParser.SplitPolicy |
sequential
Represents the sequential split policy.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Retrieves the name of the policy represented by this object.
|
public static final FoldParser.SplitPolicy random
public static final FoldParser.SplitPolicy sequential
public static final FoldParser.SplitPolicy kth
public static final FoldParser.SplitPolicy manual
Copyright © 2016. All rights reserved.