# NP-MISR

Code for our paper  “Neural Process-based Multi-Interest Learning for Session-Based  Recommendation”.

## Datasets

You can  download the raw data from the [https://www.dropbox.com/scl/fo/e043wejza1w9d1hbnh49j/ABc_P2siv2OOX-YZbpNNqBs/Datasets?rlkey=en6no2ax4tkv5j0l5t09hnkzw&e=1&subfolder_nav_tracking=1&dl=0](https://www.dropbox.com/scl/fo/e043wejza1w9d1hbnh49j/ABc_P2siv2OOX-YZbpNNqBs/Datasets?rlkey=en6no2ax4tkv5j0l5t09hnkzw&e=1&subfolder_nav_tracking=1&dl=0).

## **Experiments**

### pretrain

```markdown
cd pretrain
python build_graph.py --dataset=retailrocket
python main.py --dataset=retailrocket
```

### recommendation

```markdown
cd ..
python main.py --dataset=retailrocket
```
