Evaluation class for rating prediction. More...
Static Public Member Functions | |
| static double | ComputeCBD (double actual_rating, double prediction, double min_rating, double max_rating) |
| Compute the capped binomial deviation (CBD). | |
| static double | ComputeFit (this RatingPredictor recommender) |
| Computes the RMSE fit of a recommender on the training data. | |
| static RatingPredictionEvaluationResults | Evaluate (this IRatingPredictor recommender, IRatings ratings) |
| Evaluates a rating predictor for RMSE, (N)MAE, and CBD. | |
Properties | |
| static ICollection< string > | Measures [get] |
| the evaluation measures for rating prediction offered by the class | |
Evaluation class for rating prediction.
| static double ComputeCBD | ( | double | actual_rating, | |
| double | prediction, | |||
| double | min_rating, | |||
| double | max_rating | |||
| ) | [inline, static] |
Compute the capped binomial deviation (CBD).
http://www.kaggle.com/c/ChessRatings2/Details/Evaluation
| actual_rating | the actual rating | |
| prediction | the predicted rating | |
| min_rating | the lower bound of the rating scale | |
| max_rating | the upper bound of the rating scale |
| static double ComputeFit | ( | this RatingPredictor | recommender | ) | [inline, static] |
Computes the RMSE fit of a recommender on the training data.
| recommender | the rating predictor to evaluate |
| static RatingPredictionEvaluationResults Evaluate | ( | this IRatingPredictor | recommender, | |
| IRatings | ratings | |||
| ) | [inline, static] |
Evaluates a rating predictor for RMSE, (N)MAE, and CBD.
See http://recsyswiki.com/wiki/Root_mean_square_error and http://recsyswiki.com/wiki/Mean_absolute_error
For NMAE, see the paper by Goldberg et al.
For CBD (capped binomial deviance), see http://www.kaggle.com/c/ChessRatings2/Details/Evaluation
If the recommender can take time into account, and the rating dataset provides rating times, this information will be used for making rating predictions.
Literature:
| recommender | rating predictor | |
| ratings | Test cases |
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
1.6.3