ipex-llm icon indicating copy to clipboard operation
ipex-llm copied to clipboard

negative samping based on popularity

Open yizerozhuang opened this issue 2 years ago • 0 comments

For negative sampling and add_negative_history in DIEN procssing Recdp and ai matrix generate a list that contains all the items in the reviews including duplicate items and randomly select a negative sample from the list. Friesian encodes the items first, then randomly select one of the items within the largest index range as negative example.

So while adding negative examples, ai-matrix and recdp tends to select the items that have higher frequencies while Friesian has equal chance for every item.

yizerozhuang avatar Sep 09 '21 11:09 yizerozhuang