MyMediaLite
3.01
|
Evaluation and prediction routines for the KDD Cup 2011. More...
Static Public Member Functions | |
static double | EvaluateTrack2 (this IRecommender recommender, Dictionary< int, IList< int >> candidates, Dictionary< int, IList< int >> hits) |
Evaluate Track 2 on a validation set. | |
static double | EvaluateTrack2 (IList< byte > predictions, Dictionary< int, IList< int >> candidates, Dictionary< int, IList< int >> hits) |
Evaluate Track 2 on a validation set. | |
static void | PredictRatings (this IRecommender recommender, IRatings ratings, string filename) |
Predict ratings for Track 1. | |
static void | PredictRatings (this IRecommender recommender, IRatings ratings, BinaryWriter writer) |
Predict ratings for Track 1. | |
static void | PredictRatingsDouble (this IRecommender recommender, IRatings ratings, string filename) |
Predict ratings (double precision) | |
static void | PredictRatingsDouble (this IRecommender recommender, IRatings ratings, BinaryWriter writer) |
Predict ratings (double precision) | |
static void | PredictScoresTrack2 (this IRecommender recommender, Dictionary< int, IList< int >> candidates, string filename) |
Predict item scores for Track 2. | |
static void | PredictScoresTrack2 (this IRecommender recommender, Dictionary< int, IList< int >> candidates, BinaryWriter writer) |
Predict item scores for Track 2. | |
static void | PredictTrack2 (this IRecommender recommender, Dictionary< int, IList< int >> candidates, string filename) |
Predict items for Track 2. | |
static void | PredictTrack2 (this IRecommender recommender, Dictionary< int, IList< int >> candidates, TextWriter writer) |
Predict items for Track 2. |
Evaluation and prediction routines for the KDD Cup 2011.
static double EvaluateTrack2 | ( | this IRecommender | recommender, |
Dictionary< int, IList< int >> | candidates, | ||
Dictionary< int, IList< int >> | hits | ||
) | [inline, static] |
Evaluate Track 2 on a validation set.
recommender | the recommender to use |
candidates | the candidate items (per user) |
hits | the real items (per user) |
static double EvaluateTrack2 | ( | IList< byte > | predictions, |
Dictionary< int, IList< int >> | candidates, | ||
Dictionary< int, IList< int >> | hits | ||
) | [inline, static] |
Evaluate Track 2 on a validation set.
predictions | the predictions for all candidates as one list |
candidates | the candidate items (per user) |
hits | the real items (per user) |
static void PredictRatings | ( | this IRecommender | recommender, |
IRatings | ratings, | ||
string | filename | ||
) | [inline, static] |
Predict ratings for Track 1.
recommender | the recommender to use |
ratings | the ratings to predict |
filename | the file to write the predictions to |
static void PredictRatings | ( | this IRecommender | recommender, |
IRatings | ratings, | ||
BinaryWriter | writer | ||
) | [inline, static] |
Predict ratings for Track 1.
recommender | the recommender to use |
ratings | the ratings to predict |
writer | the writer object to write the predictions to |
static void PredictRatingsDouble | ( | this IRecommender | recommender, |
IRatings | ratings, | ||
string | filename | ||
) | [inline, static] |
Predict ratings (double precision)
recommender | the recommender to use |
ratings | the ratings to predict |
filename | the file to write the predictions to |
static void PredictRatingsDouble | ( | this IRecommender | recommender, |
IRatings | ratings, | ||
BinaryWriter | writer | ||
) | [inline, static] |
Predict ratings (double precision)
recommender | the recommender to use |
ratings | the ratings to predict |
writer | the writer object to write the predictions to |
static void PredictScoresTrack2 | ( | this IRecommender | recommender, |
Dictionary< int, IList< int >> | candidates, | ||
string | filename | ||
) | [inline, static] |
Predict item scores for Track 2.
recommender | the recommender to use |
candidates | a mapping from user IDs to the candidate items |
filename | the file to write the predictions to |
static void PredictScoresTrack2 | ( | this IRecommender | recommender, |
Dictionary< int, IList< int >> | candidates, | ||
BinaryWriter | writer | ||
) | [inline, static] |
Predict item scores for Track 2.
recommender | the recommender to use |
candidates | a mapping from user IDs to the candidate items |
writer | the writer to write the scores to |
static void PredictTrack2 | ( | this IRecommender | recommender, |
Dictionary< int, IList< int >> | candidates, | ||
string | filename | ||
) | [inline, static] |
Predict items for Track 2.
recommender | the recommender to use |
candidates | a mapping from user IDs to the candidate items |
filename | the file to write the predictions to |
static void PredictTrack2 | ( | this IRecommender | recommender, |
Dictionary< int, IList< int >> | candidates, | ||
TextWriter | writer | ||
) | [inline, static] |
Predict items for Track 2.
recommender | the recommender to use |
candidates | a mapping from user IDs to the candidate items |
writer | the writer object to write the predictions to |