OryxProject / oryx

Oryx 2: Lambda architecture on Apache Spark, Apache Kafka for real-time large scale machine learning

Home Page:http://oryx.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ALS int-String reverse ID mapping conflates user and item IDs

srowen opened this issue · comments

ALSUpdate maintains a reverse mapping from ints used in the ALS algorithm to IDs. However it mixes user and item IDs in this mapping making it possible for a user ID to suddenly be mapped back to an item ID. Bad.

Fixed, at least, the problem of overlapping user/item IDs.