The World is Binary: Contrastive Learning for Denoising Next Basket Recommendation
for example:
{
u_0: [ [ i_0, i_1 ], [ i_2, i_3, i_4]] ,
u_1: [ [ i_5, i_6], [ i_7, i_8], [ i_9] ]
}
Note!!! user_id and item_id begin with 0
- python 3.7
- pytorch 1.7.0
sh Instacart_0.sh
sh Dunn_0.sh