Méthode | Description | |
---|---|---|
ComputeFit ( ) : double | ||
Iterate ( ) : void |
Iterate once over rating data (stochastic gradient descent)
|
|
LoadModel ( string file ) : void | ||
Predict ( int user_id, int item_id ) : double |
Predict the rating of a given user for a given item
|
|
SaveModel ( string file ) : void | ||
SimpleMatrixFactorization ( ) : System |
Default constructor
|
|
ToString ( ) : string | ||
Train ( ) : void |
public Predict ( int user_id, int item_id ) : double | ||
user_id | int | the user ID |
item_id | int | the item ID |
Résultat | double |
public SimpleMatrixFactorization ( ) : System | ||
Résultat | System |