lenskit.data.UserIDKey#
- class lenskit.data.UserIDKey(user_id)#
Bases:
NamedTuple
Key type for user IDs. This is used for
item list collections
that are keyed by user ID, a common setup for recommendation runs and- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
Alias for field number 0