This is the code of paper Privacy-Preserving Gradient Boosting Decision Trees, a joint work with Zhaomin Wu, Zeyi Wen, and Bingsheng He. The implementation is based on LightGBM.
Instructions to run DPBoost:
cd python-package
python3 setup.py install --user
cd ..
python3 run_exp.py
In function try_DPBoost_2level
of run_exp.py:
output_path: The output file path.
n_trees: Number of trees.
total_budgets: The privacy budget
inner_boost_round: Number of trees inside an ensemble.
-
Since we directly implement the code based on LightGBM, it may overwrite the vanilla LightGBM of your python library.
-
The master branch is for regression task. For the binary classification task, please use the code of binary-classification branch here.
Please contact me by email liqinbin1998@gmail.com or create issues if you have any question.