RatingsCrossValidation Class Reference
Cross-validation for rating prediction.
More...
List of all members.
Static Public Member Functions |
static Dictionary< string, double > | Evaluate (RatingPredictor recommender, ISplit< IRatings > split, bool show_results=false) |
| Evaluate on the folds of a dataset split.
|
static void | EvaluateIterative (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 Dictionary<string, double> Evaluate |
( |
RatingPredictor |
recommender, |
|
|
ISplit< IRatings > |
split, |
|
|
bool |
show_results = false | |
|
) |
| | [inline, static] |
Evaluate on the folds of a dataset split.
- Parameters:
-
| recommender | a rating predictor |
| split | a rating dataset split |
| show_results | set to true to print results to STDERR |
- Returns:
- a dictionary containing the average results over the different folds of the split
static void EvaluateIterative |
( |
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:
-
| recommender | a rating predictor |
| split | a rating dataset split |
| max_iter | the maximum number of iterations |
| find_iter | the report interval |
The documentation for this class was generated from the following file:
- RatingsCrossValidation.cs