├── AAAI 21_ANPP.pdf ├── ANPP.jpg ├── ANPP_code ├── ANPP │ ├── __init__.py │ ├── build_dataset.py │ ├── model_core.py │ ├── modules.py │ ├── run.py │ ├── run_model.py │ ├── train.py │ ├── util.py │ └── utils_tpp.py ├── Config.py ├── Config.pyc ├── __init__.py ├── log ├── main.py ├── preprocess │ ├── 0_download_raw.sh │ ├── 1_convert_pd.py │ ├── 2_remap_id.py │ ├── 3_build_dataset_user.py │ ├── 4_build_dataset_train.py │ ├── __init__.py │ ├── build_dataset_seq.py │ └── preprocess.py ├── run.sh ├── run_dataset_model.py └── utils │ ├── Dataset.py │ ├── DatasetSeq.py │ ├── Metrics.py │ ├── Time.py │ ├── Tool.py │ └── __init__.py ├── ANPP_dataset ├── Beauty │ ├── ANPP │ │ └── dataset_ANPP.pkl │ ├── dataset_seq.pkl │ ├── event-test.txt │ ├── event-train.txt │ ├── time-test.txt │ └── time-train.txt ├── Clothing_Shoes_and_Jewelry │ ├── ANPP │ │ └── dataset_ANPP.pkl │ ├── dataset_seq.pkl │ ├── event-test.txt │ ├── event-train.txt │ ├── time-test.txt │ └── time-train.txt ├── financial │ ├── ANPP │ │ └── dataset_ANPP.pkl │ ├── dataset_seq.pkl │ ├── event-test.txt │ ├── event-train.txt │ ├── time-test.txt │ └── time-train.txt ├── hawkes │ ├── ANPP │ │ └── dataset_ANPP.pkl │ ├── dataset_seq.pkl │ ├── event-test.txt │ ├── event-train.txt │ ├── time-test.txt │ └── time-train.txt └── mimic │ ├── ANPP │ └── dataset_ANPP.pkl │ ├── dataset_seq.pkl │ ├── event-test.txt │ ├── event-train.txt │ ├── time-test.txt │ └── time-train.txt └── README.md /AAAI 21_ANPP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/AAAI 21_ANPP.pdf -------------------------------------------------------------------------------- /ANPP.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP.jpg -------------------------------------------------------------------------------- /ANPP_code/ANPP/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ANPP_code/ANPP/build_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/ANPP/build_dataset.py -------------------------------------------------------------------------------- /ANPP_code/ANPP/model_core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/ANPP/model_core.py -------------------------------------------------------------------------------- /ANPP_code/ANPP/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/ANPP/modules.py -------------------------------------------------------------------------------- /ANPP_code/ANPP/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/ANPP/run.py -------------------------------------------------------------------------------- /ANPP_code/ANPP/run_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/ANPP/run_model.py -------------------------------------------------------------------------------- /ANPP_code/ANPP/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/ANPP/train.py -------------------------------------------------------------------------------- /ANPP_code/ANPP/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/ANPP/util.py -------------------------------------------------------------------------------- /ANPP_code/ANPP/utils_tpp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/ANPP/utils_tpp.py -------------------------------------------------------------------------------- /ANPP_code/Config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/Config.py -------------------------------------------------------------------------------- /ANPP_code/Config.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/Config.pyc -------------------------------------------------------------------------------- /ANPP_code/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ANPP_code/log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/log -------------------------------------------------------------------------------- /ANPP_code/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/main.py -------------------------------------------------------------------------------- /ANPP_code/preprocess/0_download_raw.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/preprocess/0_download_raw.sh -------------------------------------------------------------------------------- /ANPP_code/preprocess/1_convert_pd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/preprocess/1_convert_pd.py -------------------------------------------------------------------------------- /ANPP_code/preprocess/2_remap_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/preprocess/2_remap_id.py -------------------------------------------------------------------------------- /ANPP_code/preprocess/3_build_dataset_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/preprocess/3_build_dataset_user.py -------------------------------------------------------------------------------- /ANPP_code/preprocess/4_build_dataset_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/preprocess/4_build_dataset_train.py -------------------------------------------------------------------------------- /ANPP_code/preprocess/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ANPP_code/preprocess/build_dataset_seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/preprocess/build_dataset_seq.py -------------------------------------------------------------------------------- /ANPP_code/preprocess/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/preprocess/preprocess.py -------------------------------------------------------------------------------- /ANPP_code/run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | nohup python -u main.py > log & 4 | -------------------------------------------------------------------------------- /ANPP_code/run_dataset_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/run_dataset_model.py -------------------------------------------------------------------------------- /ANPP_code/utils/Dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/utils/Dataset.py -------------------------------------------------------------------------------- /ANPP_code/utils/DatasetSeq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/utils/DatasetSeq.py -------------------------------------------------------------------------------- /ANPP_code/utils/Metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/utils/Metrics.py -------------------------------------------------------------------------------- /ANPP_code/utils/Time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/utils/Time.py -------------------------------------------------------------------------------- /ANPP_code/utils/Tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_code/utils/Tool.py -------------------------------------------------------------------------------- /ANPP_code/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ANPP_dataset/Beauty/ANPP/dataset_ANPP.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Beauty/ANPP/dataset_ANPP.pkl -------------------------------------------------------------------------------- /ANPP_dataset/Beauty/dataset_seq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Beauty/dataset_seq.pkl -------------------------------------------------------------------------------- /ANPP_dataset/Beauty/event-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Beauty/event-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/Beauty/event-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Beauty/event-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/Beauty/time-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Beauty/time-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/Beauty/time-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Beauty/time-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/Clothing_Shoes_and_Jewelry/ANPP/dataset_ANPP.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Clothing_Shoes_and_Jewelry/ANPP/dataset_ANPP.pkl -------------------------------------------------------------------------------- /ANPP_dataset/Clothing_Shoes_and_Jewelry/dataset_seq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Clothing_Shoes_and_Jewelry/dataset_seq.pkl -------------------------------------------------------------------------------- /ANPP_dataset/Clothing_Shoes_and_Jewelry/event-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Clothing_Shoes_and_Jewelry/event-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/Clothing_Shoes_and_Jewelry/event-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Clothing_Shoes_and_Jewelry/event-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/Clothing_Shoes_and_Jewelry/time-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Clothing_Shoes_and_Jewelry/time-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/Clothing_Shoes_and_Jewelry/time-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/Clothing_Shoes_and_Jewelry/time-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/financial/ANPP/dataset_ANPP.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/financial/ANPP/dataset_ANPP.pkl -------------------------------------------------------------------------------- /ANPP_dataset/financial/dataset_seq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/financial/dataset_seq.pkl -------------------------------------------------------------------------------- /ANPP_dataset/financial/event-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/financial/event-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/financial/event-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/financial/event-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/financial/time-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/financial/time-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/financial/time-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/financial/time-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/hawkes/ANPP/dataset_ANPP.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/hawkes/ANPP/dataset_ANPP.pkl -------------------------------------------------------------------------------- /ANPP_dataset/hawkes/dataset_seq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/hawkes/dataset_seq.pkl -------------------------------------------------------------------------------- /ANPP_dataset/hawkes/event-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/hawkes/event-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/hawkes/event-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/hawkes/event-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/hawkes/time-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/hawkes/time-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/hawkes/time-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/hawkes/time-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/mimic/ANPP/dataset_ANPP.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/mimic/ANPP/dataset_ANPP.pkl -------------------------------------------------------------------------------- /ANPP_dataset/mimic/dataset_seq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/mimic/dataset_seq.pkl -------------------------------------------------------------------------------- /ANPP_dataset/mimic/event-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/mimic/event-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/mimic/event-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/mimic/event-train.txt -------------------------------------------------------------------------------- /ANPP_dataset/mimic/time-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/mimic/time-test.txt -------------------------------------------------------------------------------- /ANPP_dataset/mimic/time-train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/ANPP_dataset/mimic/time-train.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyulongcs/AAAI2021_ANPP/HEAD/README.md --------------------------------------------------------------------------------