Extensions Class Reference
Extension methods for IRecommender.
More...
List of all members.
Static Public Member Functions |
static IList< int > | PredictItems (this IRecommender recommender, int user_id, IList< int > candidate_items) |
| Predict items for a given user.
|
static IList< Pair< int, float > > | ScoreItems (this IRecommender recommender, int user_id, IList< int > candidate_items) |
| Score items for a given user.
|
Detailed Description
Extension methods for IRecommender.
Member Function Documentation
static IList<int> PredictItems |
( |
this IRecommender |
recommender, |
|
|
int |
user_id, |
|
|
IList< int > |
candidate_items | |
|
) |
| | [inline, static] |
Predict items for a given user.
- Parameters:
-
| recommender | the recommender to use |
| user_id | the numerical ID of the user |
| candidate_items | a collection of numerical IDs of candidate items |
- Returns:
- an ordered list of items, the most likely item first
static IList<Pair<int, float> > ScoreItems |
( |
this IRecommender |
recommender, |
|
|
int |
user_id, |
|
|
IList< int > |
candidate_items | |
|
) |
| | [inline, static] |
Score items for a given user.
- Parameters:
-
| recommender | the recommender to use |
| user_id | the numerical ID of the user |
| candidate_items | a collection of numerical IDs of candidate items |
- Returns:
- a list of pairs, each pair consisting of the item ID and the predicted score
The documentation for this class was generated from the following file: