To run the code

  1. Unzip the package to your local directory;
  2. Run ‘pip install -r requirements.txt’ to download required packages;
  3. Open file ~/nips_code/src/utils/;
  4. Replace the “change_to_your_current_path” in line 2 of
    (root_path= “change_to_your_current_path”) to your current path;

    • You can change hyper-parameters in according to different testing scenarios;
  5. Run the whole pipline with ‘python ~/nips_code/src/’.

If you find this work useful for your research, please cite

  title={Subgraph federated learning with missing neighbor generation},
  author={Zhang, Ke and Yang, Carl and Li, Xiaoxiao and Sun, Lichao and Yiu, Siu Ming},
  booktitle={Thirty-Fifth Conference on Neural Information Processing Systems},


View Github