This hub store the code for paper Byzantine-Resilient Distributed Finite-Sum Optimization over Networks (short version) and Federated Variance-Reduced Stochastic Gradient Descent with Robustness to Byzantine Attacks (full version, which can be seen in Full.pdf
). The code can be run in the jupyter notebook.
- python 3.7.4
- pytorch 1.2.0
- matplotlib 3.1.1
- Byrd_SAGA_torch_LinearRegression.ipynb: The experiment on linear regression.
- draw.ipynb: The script to draw picture.
Download the dataset to the file folder ./dataset
and create a file folder named ./cache
. The experiment output will be stored in ./cache
.
- ijcnn1/covtype: https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/