public final class CrossfoldMethods extends Object
Modifier and Type | Method and Description |
---|---|
static CrossfoldMethod |
partitionEntities()
Create a crossfold method that partitions ratings into disjoint partitions.
|
static CrossfoldMethod |
partitionUsers(SortOrder order,
HistoryPartitionMethod part)
Create a crossfold method that splits users into disjoint partitions.
|
static CrossfoldMethod |
sampleUsers(SortOrder order,
HistoryPartitionMethod part,
int size)
Create a crossfold method that splits users into disjoint samples.
|
public static CrossfoldMethod partitionUsers(SortOrder order, HistoryPartitionMethod part)
Create a crossfold method that splits users into disjoint partitions.
order
- The ordering for user rating partitions.part
- the partition algorithm for user ratings.public static CrossfoldMethod sampleUsers(SortOrder order, HistoryPartitionMethod part, int size)
Create a crossfold method that splits users into disjoint samples.
order
- The ordering for user rating partitions.part
- the partition algorithm for user ratings.size
- The number of users per sample.public static CrossfoldMethod partitionEntities()
Create a crossfold method that partitions ratings into disjoint partitions.