Property | Type | Description | |
---|---|---|---|
max_rating | double | ||
min_rating | double | ||
ratings | IRatings |
Method | Description | |
---|---|---|
AddRating ( int user_id, int item_id, double rating ) : void | ||
CanPredict ( int user_id, int item_id ) : bool | ||
Clone ( ) : Object |
create a shallow copy of the object
|
|
LoadModel ( string filename ) : void | ||
Predict ( int user_id, int item_id ) : double | ||
RatingPredictor ( ) : System |
Default constructor
|
|
RemoveItem ( int item_id ) : void | ||
RemoveRating ( int user_id, int item_id ) : void | ||
RemoveUser ( int user_id ) : void | ||
SaveModel ( string filename ) : void | ||
ToString ( ) : string | ||
Train ( ) : void | ||
UpdateRating ( int user_id, int item_id, double rating ) : void |
Method | Description | |
---|---|---|
AddItem ( int item_id ) : void | ||
AddUser ( int user_id ) : void |
public AddRating ( int user_id, int item_id, double rating ) : void | ||
user_id | int | |
item_id | int | |
rating | double | |
return | void |
public CanPredict ( int user_id, int item_id ) : bool | ||
user_id | int | |
item_id | int | |
return | bool |
public abstract LoadModel ( string filename ) : void | ||
filename | string | |
return | void |
public abstract Predict ( int user_id, int item_id ) : double | ||
user_id | int | |
item_id | int | |
return | double |
public RemoveRating ( int user_id, int item_id ) : void | ||
user_id | int | |
item_id | int | |
return | void |
public abstract SaveModel ( string filename ) : void | ||
filename | string | |
return | void |
public UpdateRating ( int user_id, int item_id, double rating ) : void | ||
user_id | int | |
item_id | int | |
rating | double | |
return | void |