In the personalized recommendation system, what kind of w2v method can make the calculated userid and itemid calculate the similarity directly?

topic description

for example, there are often a large number of userid and itemid, in recommendation systems that seem to directly calculate the vector, of itemid, such as the calculation in gensim, or bow or skipgram, in neural networks, but their id is a type of id.
or, for example, the method used by youtube, the vector of userid and itemid is directly spliced, and then trained directly with multi-layer dnn, but the trained userid and itemie cannot directly calculate the similarity.

so is there a way to directly train the similarity between userid and itemid and calculate the similarity?


I can't help it. Because whether it is W2V or dnn, your embedding vector is the weight matrix of the first layer. The onehot vectors entered are just embedded vectors that select an ID. So there is no way to throw away the model and calculate it directly with onehot.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9928f-1739.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9928f-1739.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?