Evaluation class for rating prediction. More...
Static Public Member Functions | |
static Dictionary< string, double > | Evaluate (IRatingPredictor recommender, IRatings ratings) |
Evaluates a rating predictor for RMSE, MAE, and NMAE. | |
static string | FormatResults (Dictionary< string, double > result) |
Format rating prediction results. | |
Properties | |
static ICollection< string > | Measures [get] |
the evaluation measures for rating prediction offered by the class |
Evaluation class for rating prediction.
static Dictionary<string, double> Evaluate | ( | IRatingPredictor | recommender, | |
IRatings | ratings | |||
) | [inline, static] |
Evaluates a rating predictor for RMSE, MAE, and NMAE.
See http://recsyswiki.com/wiki/Root_mean_square_error and http://recsyswiki.com/wiki/Mean_absolute_error
For NMAE, see "Eigentaste: A Constant Time Collaborative Filtering Algorithm" by Goldberg et al.
If the recommender can take time into account, and the rating dataset provides rating times, this information will be used for making rating predictions.
recommender | rating predictor | |
ratings | Test cases |
static string FormatResults | ( | Dictionary< string, double > | result | ) | [inline, static] |
Format rating prediction results.
See http://recsyswiki.com/wiki/Root_mean_square_error and http://recsyswiki.com/wiki/Mean_absolute_error
result | the result dictionary |
ICollection<string> Measures [static, get] |
the evaluation measures for rating prediction offered by the class
See http://recsyswiki.com/wiki/Root_mean_square_error and http://recsyswiki.com/wiki/Mean_absolute_error