MyMediaLite
3.07
|
simple split for rating prediction More...
Public Member Functions | |
RatingsSimpleSplit (IRatings ratings, double ratio) | |
Create a simple split of rating prediction data. | |
Properties | |
uint | NumberOfFolds [get] |
The number of folds in this split. | |
IList< IRatings > | Test [get, set] |
Test data for the different folds. | |
IList< IRatings > | Train [get, set] |
Training data for the different folds. |
simple split for rating prediction
Please note that simple splits are 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.
RatingsSimpleSplit | ( | IRatings | ratings, |
double | ratio | ||
) | [inline] |
Create a simple split of rating prediction data.
ratings | the dataset |
ratio | the ratio of ratings to use for validation |
uint NumberOfFolds [get] |