Skip to content

Pass basket into FPMC instead of individual items? #1317

Answered by Sherry-XLL
gcbrown asked this question in Q&A
Discussion options

You must be logged in to vote

@gcbrown Hello, item_id_list and item_id are generated automatically based on users' interactions in data_augmentation as follows. item_id_list is the historical item set in chronological order and item_id is the user's next interactive ground truth item.

def data_augmentation(self):
"""Augmentation processing for sequential dataset.
E.g., ``u1`` has purchase sequence ``<i1, i2, i3, i4>``,
then after augmentation, we will generate three cases.
``u1, <i1> | i2``
(Which means given user_id ``u1`` and item_seq ``<i1>``,
we need to predict the next item…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gcbrown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants