MyMediaLite  3.01
Static Public Member Functions
RatingsCrossValidation Class Reference

Cross-validation for rating prediction. More...

List of all members.

Static Public Member Functions

static
RatingPredictionEvaluationResults 
DoCrossValidation (this RatingPredictor recommender, uint num_folds=5, bool compute_fit=false, bool show_results=false)
 Evaluate on the folds of a dataset split.
static
RatingPredictionEvaluationResults 
DoCrossValidation (this RatingPredictor recommender, ISplit< IRatings > split, bool compute_fit=false, bool show_results=false)
 Evaluate on the folds of a dataset split.
static void DoIterativeCrossValidation (this RatingPredictor recommender, uint num_folds, int max_iter, int find_iter=1)
 Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT.
static void DoIterativeCrossValidation (this RatingPredictor recommender, ISplit< IRatings > split, int max_iter, int find_iter=1)
 Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT.

Detailed Description

Cross-validation for rating prediction.


Member Function Documentation

static RatingPredictionEvaluationResults DoCrossValidation ( this RatingPredictor  recommender,
uint  num_folds = 5,
bool  compute_fit = false,
bool  show_results = false 
) [inline, static]

Evaluate on the folds of a dataset split.

Parameters:
recommendera rating predictor
num_foldsthe number of folds
compute_fitif set to true measure fit on the training data as well
show_resultsif set to true to print results to STDERR
Returns:
a dictionary containing the average results over the different folds of the split
static RatingPredictionEvaluationResults DoCrossValidation ( this RatingPredictor  recommender,
ISplit< IRatings split,
bool  compute_fit = false,
bool  show_results = false 
) [inline, static]

Evaluate on the folds of a dataset split.

Parameters:
recommendera rating predictor
splita rating dataset split
compute_fitif set to true measure fit on the training data as well
show_resultsset to true to print results to STDERR
Returns:
a dictionary containing the average results over the different folds of the split
static void DoIterativeCrossValidation ( this RatingPredictor  recommender,
uint  num_folds,
int  max_iter,
int  find_iter = 1 
) [inline, static]

Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT.

Parameters:
recommendera rating predictor
num_foldsthe number of folds
max_iterthe maximum number of iterations
find_iterthe report interval
static void DoIterativeCrossValidation ( this RatingPredictor  recommender,
ISplit< IRatings split,
int  max_iter,
int  find_iter = 1 
) [inline, static]

Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT.

Parameters:
recommendera rating predictor
splita rating dataset split
max_iterthe maximum number of iterations
find_iterthe report interval

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