MyMediaLite
MatrixFactorization.Predict Method (int, int)
Syntax
Remarks
Collapse All
Predict the rating of a given user for a given item.
Declaring type:
MatrixFactorization
Namespace:
MyMediaLite.RatingPredictor
Assembly:
MyMediaLite
Syntax
C#
public override double Predict ( int
user_id
, int
item_id
)
Parameters
user_id
the user ID
item_id
the item ID
Return Value
the predicted rating
Top
Remarks
If the user or the item are not known to the engine, the global average is returned. To avoid this behavior for unknown entities, use CanPredict() to check before.
Top
Generated by
ImmDoc .NET
.