MyMediaLite
3.11
|
k-fold cross-validation split for rating prediction More...
Public Member Functions | |
RatingCrossValidationSplit (IRatings ratings, uint num_folds) | |
Create a k-fold split of rating prediction data More... | |
Properties | |
uint | NumberOfFolds [get] |
IList< IRatings > | Test [get] |
IList< IRatings > | Train [get] |
k-fold cross-validation split for rating prediction
Please note that k-fold cross-validation is not the best/most realistic way of evaluating recommender system algorithms. In particular, chronological splits (RatingsChronologicalSplit) are more realistic.
The dataset must not be modified after the split - this would lead to undefined behavior.
|
inline |
Create a k-fold split of rating prediction data
ratings | the dataset |
num_folds | the number of folds |