Try to get the index for given user and item
Declaring type: IRatings
Namespace: MyMediaLite.Data
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public abstract bool TryGetIndex (
        int user_id,
        int item_id,
        ICollection<int> indexes,
        out int index
) 
Parameters
user_id
the user ID
item_id
the item ID
indexes
the indexes to look at
index
will contain the index of the first rating encountered that matches the user ID and item ID
Return Value
true if an index was found for the user and item