MyMediaLite
3.03
|
Cross-validation for rating prediction. More...
Static Public Member Functions | |
static RatingPredictionEvaluationResults | DoCrossValidation (this RatingPredictor recommender, uint num_folds=5, bool compute_fit=false, bool show_fold_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_fold_results=false) |
Evaluate on the folds of a dataset split. | |
static void | DoIterativeCrossValidation (this RatingPredictor recommender, uint num_folds, uint max_iter, uint find_iter=1, bool show_fold_results=false) |
Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT. | |
static void | DoIterativeCrossValidation (this RatingPredictor recommender, ISplit< IRatings > split, uint max_iter, uint find_iter=1, bool show_fold_results=false) |
Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT. |
Cross-validation for rating prediction.
static RatingPredictionEvaluationResults DoCrossValidation | ( | this RatingPredictor | recommender, |
uint | num_folds = 5 , |
||
bool | compute_fit = false , |
||
bool | show_fold_results = false |
||
) | [inline, static] |
Evaluate on the folds of a dataset split.
recommender | a rating predictor |
num_folds | the number of folds |
compute_fit | if set to true measure fit on the training data as well |
show_fold_results | if set to true to print per-fold results to STDERR |
static RatingPredictionEvaluationResults DoCrossValidation | ( | this RatingPredictor | recommender, |
ISplit< IRatings > | split, | ||
bool | compute_fit = false , |
||
bool | show_fold_results = false |
||
) | [inline, static] |
Evaluate on the folds of a dataset split.
recommender | a rating predictor |
split | a rating dataset split |
compute_fit | if set to true measure fit on the training data as well |
show_fold_results | set to true to print per-fold results to STDERR |
static void DoIterativeCrossValidation | ( | this RatingPredictor | recommender, |
uint | num_folds, | ||
uint | max_iter, | ||
uint | find_iter = 1 , |
||
bool | show_fold_results = false |
||
) | [inline, static] |
Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT.
recommender | a rating predictor |
num_folds | the number of folds |
max_iter | the maximum number of iterations |
find_iter | the report interval |
show_fold_results | if set to true to print per-fold results to STDERR |
static void DoIterativeCrossValidation | ( | this RatingPredictor | recommender, |
ISplit< IRatings > | split, | ||
uint | max_iter, | ||
uint | find_iter = 1 , |
||
bool | show_fold_results = false |
||
) | [inline, static] |
Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT.
recommender | a rating predictor |
split | a rating dataset split |
max_iter | the maximum number of iterations |
find_iter | the report interval |
show_fold_results | if set to true to print per-fold results to STDERR |