|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mymedialite.eval.RatingsCrossValidation
public class RatingsCrossValidation
Cross-validation for rating prediction.
Method Summary | |
---|---|
static RatingPredictionEvaluationResults |
doCrossValidation(RatingPredictor recommender,
java.lang.Integer num_folds,
java.lang.Boolean compute_fit,
java.lang.Boolean show_results)
Evaluate on the folds of a dataset split. |
static RatingPredictionEvaluationResults |
doCrossValidation(RatingPredictor recommender,
ISplit<IRatings> split,
java.lang.Boolean compute_fit,
java.lang.Boolean show_results)
Evaluate on the folds of a dataset split. |
static void |
doIterativeCrossValidation(RatingPredictor recommender,
int num_folds,
int max_iter,
java.lang.Integer find_iter)
Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT. |
static void |
doIterativeCrossValidation(RatingPredictor recommender,
ISplit<IRatings> split,
int max_iter,
java.lang.Integer find_iter)
Evaluate an iterative recommender on the folds of a dataset split, display results on STDOUT. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RatingPredictionEvaluationResults doCrossValidation(RatingPredictor recommender, java.lang.Integer num_folds, java.lang.Boolean compute_fit, java.lang.Boolean show_results) throws java.lang.Exception
recommender
- a rating predictornum_folds
- the number of foldscompute_fit
- if set to true measure fit on the training data as wellshow_results
- if set to true to print results to STDERR
java.lang.Exception
public static RatingPredictionEvaluationResults doCrossValidation(RatingPredictor recommender, ISplit<IRatings> split, java.lang.Boolean compute_fit, java.lang.Boolean show_results) throws java.lang.Exception
recommender
- a rating predictorsplit
- a rating dataset splitcompute_fit
- if set to true measure fit on the training data as wellshow_results
- set to true to print results to STDERR
java.lang.Exception
public static void doIterativeCrossValidation(RatingPredictor recommender, int num_folds, int max_iter, java.lang.Integer find_iter) throws java.lang.Exception
recommender
- a rating predictornum_folds
- the number of foldsmax_iter
- the maximum number of iterationsfind_iter
- the report interval
java.lang.Exception
public static void doIterativeCrossValidation(RatingPredictor recommender, ISplit<IRatings> split, int max_iter, java.lang.Integer find_iter) throws java.lang.Exception
recommender
- a rating predictorsplit
- a rating dataset splitmax_iter
- the maximum number of iterationsfind_iter
- the report interval
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |