MyMediaLite  3.11
Public Member Functions | Properties | List of all members
RatingsSimpleSplit Class Reference

simple split for rating prediction More...

Inheritance diagram for RatingsSimpleSplit:
ISplit< IRatings >

Public Member Functions

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

Properties

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

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
ratingsthe dataset
ratiothe ratio of ratings to use for validation

The documentation for this class was generated from the following file: