public final class CrossfoldMethods
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static CrossfoldMethod |
partitionEntities()
Create a crossfold method that partitions ratings into disjoint partitions.
|
static CrossfoldMethod |
partitionItems(HistoryPartitionMethod part)
Create a crossfold method that splits items into disjoint partitions.
|
static CrossfoldMethod |
partitionUsers(SortOrder order,
HistoryPartitionMethod part)
Create a crossfold method that splits users into disjoint partitions.
|
static CrossfoldMethod |
sampleEntities(int size)
Create a crossfold method that creates disjoint samples of entities into disjoint partitions.
|
static CrossfoldMethod |
sampleItems(HistoryPartitionMethod part,
int size)
Create a crossfold method that splits items into disjoint samples.
|
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.
public static CrossfoldMethod sampleEntities(int size)
Create a crossfold method that creates disjoint samples of entities into disjoint partitions.
public static CrossfoldMethod partitionItems(HistoryPartitionMethod part)
Create a crossfold method that splits items into disjoint partitions.
part
- the partition algorithm for item ratings.public static CrossfoldMethod sampleItems(HistoryPartitionMethod part, int size)
Create a crossfold method that splits items into disjoint samples.
part
- the partition algorithm for item ratings.size
- The number of items per sample.