Open waeldimassi opened 4 years ago
I got this issue when I run this dataset.build_interactions(df.iloc[:, 0:3].values)
dataset.build_interactions(df.iloc[:, 0:3].values)
Item id 5863.0 not in item id mapping. Make sure you call the fit method.
The dataset is done successfully with this : dataset.fit( df['user'].unique(), # all the users df['item'].unique() # all the items )
dataset.fit( df['user'].unique(), # all the users df['item'].unique() # all the items )
PS : df['user'] and df['item'] are int64
i got a similar error. any idea how to solve this?
I got this issue when I run this
dataset.build_interactions(df.iloc[:, 0:3].values)
The dataset is done successfully with this :
dataset.fit( df['user'].unique(), # all the users df['item'].unique() # all the items )
PS : df['user'] and df['item'] are int64