MyMediaLite
3.11
|
K-fold cross-validation split for item prediction from implicit feedback More...
Public Member Functions | |
PosOnlyFeedbackCrossValidationSplit (IPosOnlyFeedback feedback, uint num_folds) | |
Create a k-fold split of positive-only item prediction data More... | |
Properties | |
uint | NumberOfFolds [get] |
IList< IPosOnlyFeedback > | Test [get] |
IList< IPosOnlyFeedback > | Train [get] |
K-fold cross-validation split for item prediction from implicit feedback
Items with less than k events associated are ignored for testing and always assigned to the training set.
The dataset must not be modified after the split - this would lead to undefined behavior.
T | : | IPosOnlyFeedback | |
T | : | new() |
|
inline |
Create a k-fold split of positive-only item prediction data
See the class description for details.
feedback | the dataset |
num_folds | the number of folds |