Code for SIGIR'20 paper "Towards Differentially Private Text Representations".
Data folder: data/sentiment_analysis
python sentiment_analysis_ldp_github.py
python3
tensorflow
keras
Remember to cite the following papers if you use any part of the code:
@article{lyu2020towards,
title={Towards Differentially Private Text Representations},
author={Lyu, Lingjuan and Li, Yitong and He, Xuanli and Xiao, Tong},
journal={arXiv preprint arXiv:2006.14170},
year={2020}
}