RecommenderSystems icon indicating copy to clipboard operation
RecommenderSystems copied to clipboard

会话中的物品顺序

Open SSOTTY opened this issue 4 years ago • 4 comments

由于会话划分时只使用会话ID进行排序,一个会话内物品的顺序是不是乱序的? data = data.sort_values(by=['TimeId']).groupby('SessionId')['ItemId'].apply(list).to_dict()

SSOTTY avatar Feb 04 '21 12:02 SSOTTY