MyMediaLite  3.03
Public Member Functions | Properties
RatingsSimpleSplit Class Reference

simple split for rating prediction More...

Inheritance diagram for RatingsSimpleSplit:
ISplit< T >

List of all members.

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< IRatingsTest [get, set]
 Test data for the different folds.
IList< IRatingsTrain [get, set]
 Training data for the different folds.

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

Property Documentation

uint NumberOfFolds [get]

The number of folds in this split.

The number of folds in this split

Implements ISplit< T >.

IList<IRatings> Test [get, set]

Test data for the different folds.

A list of T

Implements ISplit< T >.

IList<IRatings> Train [get, set]

Training data for the different folds.

A list of T

Implements ISplit< T >.


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