k-fold 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 split for rating prediction
The dataset must not be modified after the split - this would lead to undefined behavior.
RatingCrossValidationSplit | ( | IRatings | ratings, | |
uint | num_folds | |||
) | [inline] |
Create a k-fold split of rating prediction data.
ratings | the dataset | |
num_folds | the number of folds |