Expand description
Mapping between original string identifiers and internal indexes
Many interaction datasets contain string identifiers for users and items. Internally however, we want to internally work with consecutive integer ids for memory efficiency. We therefore keep track of the string identifiers of users and items as well as the overall number of interactions in order to map back and forth between the two representations.
Structs
Mapping from original string based identifiers to internal
u32
indexes.Allows to remap the internal item indexes to the original string identifiers