|
MyMediaLite
3.10
|
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 | |
Properties | |
| uint | NumberOfFolds [get, set] |
| IList< IRatings > | Test [get, set] |
| IList< IRatings > | Train [get, set] |
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 |
1.8.1.2