Method | Description | |
---|---|---|
PredictItems ( IRecommender recommender, int user_id, ICollection |
Predict items for a given user
|
|
PredictItems ( IRecommender recommender, int user_id, int max_item_id ) : int[] |
predict items for a specific users
|
|
WritePredictions ( IRecommender recommender, IPosOnlyFeedback train, ICollection |
Write item predictions (scores) for all users to a TextWriter object
|
|
WritePredictions ( IRecommender recommender, IPosOnlyFeedback train, ICollection |
Write item predictions (scores) for all users to a file
|
|
WritePredictions ( IRecommender recommender, IPosOnlyFeedback train, IList |
Write item predictions (scores) to a TextWriter object
|
|
WritePredictions ( IRecommender recommender, IPosOnlyFeedback train, IList |
Write item predictions (scores) to a file
|
|
WritePredictions ( IRecommender recommender, int user_id, ICollection |
Write item predictions (scores) to a TextWriter object
|
public static PredictItems ( IRecommender recommender, int user_id, ICollection |
||
recommender | IRecommender | the recommender to use |
user_id | int | the numerical ID of the user |
relevant_items | ICollection |
a collection of numerical IDs of relevant items |
return | int[] |
public static PredictItems ( IRecommender recommender, int user_id, int max_item_id ) : int[] | ||
recommender | IRecommender | the |
user_id | int | the user ID |
max_item_id | int | the maximum item ID |
return | int[] |
public static WritePredictions ( IRecommender recommender, IPosOnlyFeedback train, ICollection |
||
recommender | IRecommender | the |
train | IPosOnlyFeedback | a user-wise |
relevant_items | ICollection |
the list of candidate items |
num_predictions | int | the number of items to return per user, -1 if there should be no limit |
user_mapping | IEntityMapping | an |
item_mapping | IEntityMapping | an |
writer | the |
|
return | void |
public static WritePredictions ( IRecommender recommender, IPosOnlyFeedback train, ICollection |
||
recommender | IRecommender | the |
train | IPosOnlyFeedback | a user-wise |
relevant_items | ICollection |
the list of candidate items |
num_predictions | int | the number of items to return per user, -1 if there should be no limit |
user_mapping | IEntityMapping | an |
item_mapping | IEntityMapping | an |
filename | string | the name of the file to write to |
return | void |
public static WritePredictions ( IRecommender recommender, IPosOnlyFeedback train, IList |
||
recommender | IRecommender | the |
train | IPosOnlyFeedback | a user-wise |
relevant_users | IList |
a list of users to make recommendations for |
relevant_items | ICollection |
the list of candidate items |
num_predictions | int | the number of items to return per user, -1 if there should be no limit |
user_mapping | IEntityMapping | an |
item_mapping | IEntityMapping | an |
writer | the |
|
return | void |
public static WritePredictions ( IRecommender recommender, IPosOnlyFeedback train, IList |
||
recommender | IRecommender | the |
train | IPosOnlyFeedback | a user-wise |
relevant_users | IList |
a list of users to make recommendations for |
relevant_items | ICollection |
the list of candidate items |
num_predictions | int | the number of items to return per user, -1 if there should be no limit |
user_mapping | IEntityMapping | an |
item_mapping | IEntityMapping | an |
filename | string | the name of the file to write to |
return | void |
public static WritePredictions ( IRecommender recommender, int user_id, ICollection |
||
recommender | IRecommender | the |
user_id | int | the ID of the user to make recommendations for |
relevant_items | ICollection |
the list of candidate items |
ignore_items | ICollection |
a list of items for which no predictions should be made |
num_predictions | int | the number of items to return per user, -1 if there should be no limit |
user_mapping | IEntityMapping | an |
item_mapping | IEntityMapping | an |
writer | the |
|
return | void |