- Create a Python environment:
conda create --name fedcurve python=3.11
conda activate fedcurve- Clone the repository:
git clone https://github.com/xuefeng-xu/fedcurve.git && cd fedcurve- Install dependencies:
pip install -e .See fedcurve/README for details.
To reproduce results for the adult dataset with XGBClassifier:
python reproduce.py --dataset adult --classifier XGBClassifierSimilarly, to reproduces results for the bank dataset with LogisticRegression:
python reproduce.py --dataset bank --classifier LogisticRegressionPlots are saved under ./img/*/{dataset}_{classifier}_{curve}.pdf