Closed RAbraham closed 6 years ago
Could you ask this question on StackOverflow and post a link here so that I could respond? That way more users can benefit from the response.
Absolutely. Here it is: https://stackoverflow.com/questions/48068147/recommender-systems-convert-uuids-to-32-bit-ints-for-recommender-libraries
Thanks a bunch.
Hi, This is a request for advice if you have the time :).
LightFM and other libraries ask for a 32 bit integer id e.g for users. But, our user id is a UUID e.g.
0003374a-a35c-46ed-96d2-0ea32b753199
. I was wondering what you would recommend in scenarios like these. What I have come up with is:Thanks, Rajiv