I'm implementing a prod2vec model to capture the co-purchase products, this is similar…
- User
I'm implementing a prod2vec model to capture the co-purchase products, this is similar to word2vec the only difference being that I'm not find similar words/products but finding co-occuring words/products. To capture co-occurring products I use both set of weights, i.e., the "in" & "out" vectors. To find a co-occurring product for a query product I perform a nearest neighbour search with the "in" embedding of the query product in the "out" vector space. Here is an idea and let me know problems it might encounter: I also have information on how alike products are based on the product metadata i.e., title, description, etc. this information is represented by a similarity score (0,1). I want to make sure products similar to each other have close embeddings in the same space. For example, if shoe A and shoe B are similar then I want their embeddings in the "in" vector space to be close and similarly embeddings in the "out" vector space to be close but it is not necessary that the "in" vector will be close to the "out" vector. I do this using an MSE loss while updating the co-occurrence task in the side as well. Is this a correct way to approach this problem?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.