Property | Type | Description | |
---|---|---|---|
GetPositivelyCorrelatedEntities | IList | ||
data_item |
Method | Description | |
---|---|---|
AddRating ( int user_id, int item_id, double rating ) : void | ||
ItemKNN ( ) : System | ||
LoadModel ( string filename ) : void | ||
Predict ( int user_id, int item_id ) : double |
Predict the rating of a given user for a given item If the user or the item are not known to the recommender, a suitable average is returned. To avoid this behavior for unknown entities, use CanPredict() to check before. |
|
RemoveRating ( int user_id, int item_id ) : void | ||
UpdateRating ( int user_id, int item_id, double rating ) : void |
Method | Description | |
---|---|---|
AddItem ( int item_id ) : void |
public AddRating ( int user_id, int item_id, double rating ) : void | ||
user_id | int | |
item_id | int | |
rating | double | |
return | void |
public Predict ( int user_id, int item_id ) : double | ||
user_id | int | the user ID |
item_id | int | the item ID |
return | double |
public RemoveRating ( int user_id, int item_id ) : void | ||
user_id | int | |
item_id | int | |
return | void |
public UpdateRating ( int user_id, int item_id, double rating ) : void | ||
user_id | int | |
item_id | int | |
rating | double | |
return | void |
protected Func |
||
return | IList |