Property | Type | Description | |
---|---|---|---|
item_bias | double[] | ||
user_bias | double[] |
Method | Description | |
---|---|---|
BiasedMatrixFactorization ( ) : System |
Default constructor
|
|
ComputeLoss ( ) : double | ||
Iterate ( ) : void | ||
LoadModel ( string filename ) : void | ||
Predict ( int user_id, int item_id ) : double | ||
RemoveItem ( int item_id ) : void | ||
RemoveUser ( int user_id ) : void | ||
RetrainItem ( int item_id ) : void | ||
RetrainUser ( int user_id ) : void | ||
SaveModel ( string filename ) : void | ||
ToString ( ) : string | ||
Train ( ) : void |
Method | Description | |
---|---|---|
AddItem ( int item_id ) : void | ||
AddUser ( int user_id ) : void | ||
InitModel ( ) : void | ||
Iterate ( IList |
||
IterateMAE ( IList |
||
IterateRMSE ( IList |
public BiasedMatrixFactorization ( ) : System | ||
return | System |
protected Iterate ( IList |
||
rating_indices | IList |
|
update_user | bool | |
update_item | bool | |
return | void |
protected IterateMAE ( IList |
||
rating_indices | IList |
|
update_user | bool | |
update_item | bool | |
return | void |
protected IterateRMSE ( IList |
||
rating_indices | IList |
|
update_user | bool | |
update_item | bool | |
return | void |
public Predict ( int user_id, int item_id ) : double | ||
user_id | int | |
item_id | int | |
return | double |