Ratings Class Reference

Evaluation class for rating prediction. More...

List of all members.

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

Detailed Description

Evaluation class for rating prediction.


Member Function Documentation

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.

Parameters:
recommender rating predictor
ratings Test cases
Returns:
a Dictionary containing the evaluation results
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

Parameters:
result the result dictionary
Returns:
a string containing the results

Property Documentation

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


The documentation for this class was generated from the following file:
Generated on Sun Nov 13 20:32:48 2011 for MyMediaLite by  doxygen 1.6.3