Prediction Class Reference
Class that contains static methods for rating prediction.
More...
List of all members.
Static Public Member Functions |
static void | WritePredictions (IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, TextWriter writer) |
| Rate a given set of instances and write it to a TextWriter.
|
static void | WritePredictions (IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string filename) |
| Rate a given set of instances and write it to a file.
|
static void | WritePredictions (IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string line_format, string filename) |
| Rate a given set of instances and write it to a file.
|
static void | WritePredictions (IRatingPredictor recommender, IRatings ratings, IEntityMapping user_mapping, IEntityMapping item_mapping, string line_format, TextWriter writer) |
| Rate a given set of instances and write it to a TextWriter.
|
Detailed Description
Class that contains static methods for rating prediction.
Member Function Documentation
Rate a given set of instances and write it to a TextWriter.
- Parameters:
-
| recommender | rating predictor |
| ratings | test cases |
| user_mapping | an EntityMapping object for the user IDs |
| item_mapping | an EntityMapping object for the item IDs |
| writer | the TextWriter to write the predictions to |
Rate a given set of instances and write it to a file.
- Parameters:
-
| recommender | rating predictor |
| ratings | test cases |
| user_mapping | an EntityMapping object for the user IDs |
| item_mapping | an EntityMapping object for the item IDs |
| filename | the name of the file to write the predictions to |
Rate a given set of instances and write it to a file.
- Parameters:
-
| recommender | rating predictor |
| ratings | test cases |
| user_mapping | an EntityMapping object for the user IDs |
| item_mapping | an EntityMapping object for the item IDs |
| line_format | a format string specifying the line format; {0} is the user ID, {1} the item ID, {2} the rating |
| filename | the name of the file to write the predictions to |
Rate a given set of instances and write it to a TextWriter.
- Parameters:
-
| recommender | rating predictor |
| ratings | test cases |
| user_mapping | an EntityMapping object for the user IDs |
| item_mapping | an EntityMapping object for the item IDs |
| line_format | a format string specifying the line format; {0} is the user ID, {1} the item ID, {2} the rating |
| writer | the TextWriter to write the predictions to |
The documentation for this class was generated from the following file:
- RatingPrediction/Prediction.cs