Property | Type | Description | |
---|---|---|---|
item_factors | Matrix |
||
num_factors | int | ||
user_factors | Matrix |
Method | Description | |
---|---|---|
ComputeFit ( ) : double |
Computes the fit (optimization criterion) on the training data
|
|
Iterate ( ) : void |
Iterate once over the data
|
|
LoadModel ( string file ) : void | ||
MF ( ) : System |
Default constructor
|
|
Predict ( int user_id, int item_id ) : double |
Predict the weight for a given user-item combination If the user or the item are not known to the recommender, zero is returned. To avoid this behavior for unknown entities, use CanPredict() to check before. |
|
SaveModel ( string file ) : void | ||
Train ( ) : void |
Method | Description | |
---|---|---|
InitModel ( ) : void |
public Predict ( int user_id, int item_id ) : double | ||
user_id | int | the user ID |
item_id | int | the item ID |
return | double |