|
MyMediaLite
3.09
|
Cross-validation for rating-based ranking. More...
Static Public Member Functions | |
| static EvaluationResults | DoRatingBasedRankingCrossValidation (this RatingPredictor recommender, uint num_folds, IList< int > candidate_items, CandidateItems candidate_item_mode=CandidateItems.OVERLAP, bool compute_fit=false, bool show_results=false) |
| Evaluate on the folds of a dataset split. | |
| static EvaluationResults | DoRatingBasedRankingCrossValidation (this RatingPredictor recommender, ISplit< IRatings > split, IList< int > candidate_items, CandidateItems candidate_item_mode=CandidateItems.OVERLAP, bool compute_fit=false, bool show_results=false) |
| Evaluate on the folds of a dataset split. | |
| static void | DoRatingBasedRankingIterativeCrossValidation (this RatingPredictor recommender, uint num_folds, IList< int > test_users, IList< int > candidate_items, CandidateItems candidate_item_mode, RepeatedEvents repeated_events, 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 | DoRatingBasedRankingIterativeCrossValidation (this RatingPredictor recommender, ISplit< IRatings > split, IList< int > test_users, IList< int > candidate_items, CandidateItems candidate_item_mode, RepeatedEvents repeated_events, 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-based ranking.
| static EvaluationResults DoRatingBasedRankingCrossValidation | ( | this RatingPredictor | recommender, |
| uint | num_folds, | ||
| IList< int > | candidate_items, | ||
| CandidateItems | candidate_item_mode = CandidateItems.OVERLAP, |
||
| bool | compute_fit = false, |
||
| bool | show_results = false |
||
| ) | [inline, static] |
Evaluate on the folds of a dataset split.
| recommender | an item recommender |
| num_folds | the number of folds |
| candidate_items | a collection of integers with all candidate items |
| candidate_item_mode | the mode used to determine the candidate items |
| compute_fit | if set to true measure fit on the training data as well |
| show_results | set to true to print results to STDERR |
| static EvaluationResults DoRatingBasedRankingCrossValidation | ( | this RatingPredictor | recommender, |
| ISplit< IRatings > | split, | ||
| IList< int > | candidate_items, | ||
| CandidateItems | candidate_item_mode = CandidateItems.OVERLAP, |
||
| bool | compute_fit = false, |
||
| bool | show_results = false |
||
| ) | [inline, static] |
Evaluate on the folds of a dataset split.
| recommender | an item recommender |
| split | a dataset split |
| candidate_items | a collection of integers with all candidate items |
| candidate_item_mode | the mode used to determine the candidate items |
| compute_fit | if set to true measure fit on the training data as well |
| show_results | set to true to print results to STDERR |
| static void DoRatingBasedRankingIterativeCrossValidation | ( | this RatingPredictor | recommender, |
| uint | num_folds, | ||
| IList< int > | test_users, | ||
| IList< int > | candidate_items, | ||
| CandidateItems | candidate_item_mode, | ||
| RepeatedEvents | repeated_events, | ||
| 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 | an item recommender |
| num_folds | the number of folds |
| test_users | a collection of integers with all test users |
| candidate_items | a collection of integers with all candidate items |
| candidate_item_mode | the mode used to determine the candidate items |
| repeated_events | allow repeated events in the evaluation (i.e. items accessed by a user before may be in the recommended list) |
| 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 DoRatingBasedRankingIterativeCrossValidation | ( | this RatingPredictor | recommender, |
| ISplit< IRatings > | split, | ||
| IList< int > | test_users, | ||
| IList< int > | candidate_items, | ||
| CandidateItems | candidate_item_mode, | ||
| RepeatedEvents | repeated_events, | ||
| 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 | an item recommender |
| split | a positive-only feedback dataset split |
| test_users | a collection of integers with all test users |
| candidate_items | a collection of integers with all candidate items |
| candidate_item_mode | the mode used to determine the candidate items |
| repeated_events | allow repeated events in the evaluation (i.e. items accessed by a user before may be in the recommended list) |
| 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 |
1.7.6.1