public final class HistoryPartitions extends Object
Factories for creating HistoryPartitionMethod
instances.
Modifier and Type | Method and Description |
---|---|
static HistoryPartitionMethod |
holdout(int n)
Hold out a fixed number of ratings.
|
static HistoryPartitionMethod |
holdoutFraction(double f)
Hold out a fraction of ratings.
|
static HistoryPartitionMethod |
retain(int n)
Retain a fixed number of ratings.
|
public static HistoryPartitionMethod holdout(int n)
Hold out a fixed number of ratings.
public static HistoryPartitionMethod holdoutFraction(double f)
Hold out a fraction of ratings.
public static HistoryPartitionMethod retain(int n)
Retain a fixed number of ratings.