RatingCrossValidationSplit Class Reference

k-fold cross-validation split for rating prediction More...

List of all members.

Public Member Functions

 RatingCrossValidationSplit (IRatings ratings, uint num_folds)
 Create a k-fold split of rating prediction data.

Properties

uint NumberOfFolds [get, set]
IList< IRatingsTest [get, set]
IList< IRatingsTrain [get, set]

Detailed Description

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.


Constructor & Destructor Documentation

RatingCrossValidationSplit ( IRatings  ratings,
uint  num_folds 
) [inline]

Create a k-fold split of rating prediction data.

Parameters:
ratings the dataset
num_folds the number of folds

The documentation for this class was generated from the following file:
Generated on Fri Mar 2 21:19:31 2012 for MyMediaLite by  doxygen 1.6.3