RatingsSimpleSplit Class Reference

simple split for rating prediction More...

List of all members.

Public Member Functions

 RatingsSimpleSplit (IRatings ratings, double ratio)
 Create a simple split of rating prediction data.

Properties

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

Detailed Description

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.


Constructor & Destructor Documentation

RatingsSimpleSplit ( IRatings  ratings,
double  ratio 
) [inline]

Create a simple split of rating prediction data.

Parameters:
ratings the dataset
ratio the ratio of ratings to use for validation

The documentation for this class was generated from the following file:
Generated on Thu Apr 5 01:11:32 2012 for MyMediaLite by  doxygen 1.6.3