CTSMA ICML21
Code for ICML21 paper "Learning Self-Modulating Attention in Continuous Time Space with Applications to Sequential Recommendation"
Install / Use
npx skills add cchao0116/CTSMA-ICML21Installs into whichever agent you are using.
README
CTSMA-ICML21
Code for ICML21 paper "Learning Self-Modulating Attention in Continuous Time Space with Applications to Sequential Recommendation"
Installation
The program requires Python 3.7+ with NumPy, Pandas and Tensorflow 1.x.
Data Format
The implementation is desiged for top-N recommendations on implicit data, and thus it takes Tensorflow-Records as input:
seqs_i: int64, the sequence of item ids
seqs_t: float32, the sequence of purchase timestamps
label: int64, the output item ids
In addition to train/validation/test files, the mapping from item-id to mark-id should be also specified and stored as scipy-sparse matrix.
Train and Test
Once the data is ready, it is quite simple to train and evaluate our S2PNM model by running
bash runme.sh
Citation
If you find our code useful for your research, please consider cite.
@inproceedings{chen2021learning,
title={Learning Self-Modulating Attention in Continuous Time Space with Applications to Sequential Recommendation},
author={Chen, Chao and Geng, Haoyu and Yang, Nianzu and Yan, Junchi and Xue, Daiyue and Yu, Jianping and Yang, Xiaokang},
booktitle={Proceedings of the International Conference on Machine Learning (ICML '21)},
pages={1606--1616},
year={2021},
organization={PMLR}
}
Related Skills
mcp
Use the `mcp_perplexity-ask_perplexity_search` tools to answer questions. You should use this instead of the `web_search` tool because it is a lot more accurate.
practical-power-systems-synthesis
This skill enables synthesis in the domain of power-systems (engineering). It represents research-level-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform synthesis operations related to power-systems.
semi-supervised-optogenetics-testing
This skill enables testing in the domain of optogenetics (neuroscience). It represents intermediate-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform testing operations related to optogenetics.
data-mining-interpretation-fundamental
This skill enables interpretation in the domain of data-mining (data-science). It represents fundamental-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform interpretation operations related to data-mining.
