Open Federated Graph Learning (OpenFGL)
OpenFGL is a comprehensive, user-friendly algorithm library, complemented by an integrated evaluation platform, designed specifically for researchers in the field of federated graph learning (FGL).
Paper • Highlights • Installation • Docs • Citation
Highlights
- 2 FGL Scenarios: Graph-FL and Subgraph-FL
- 10+ FGL Algorithms
- 34 FGL Datasets
- 12 GNN Models
- 5 Downstream Tasks
- Comprehensive FGL Data Property Analysis
Get Started
import openfgl.config as config
from openfgl.flcore.trainer import FGLTrainer
args = config.args
args.root = "your_data_root"
args.dataset = ["Cora"]
args.simulation_mode = "subgraph_fl_louvain"
args.num_clients = 10
if True:
args.fl_algorithm = "fedavg"
args.model = ["gcn"]
else:
args.fl_algorithm = "fedproto"
args.model = ["gcn", "gat", "sgc", "mlp", "graphsage"] # choose multiple gnn models for model heterogeneity setting.
args.metrics = ["accuracy"]
trainer = FGLTrainer(args)
trainer.train()
Citation
Please cite our paper (and the respective papers of the methods used) if you use this code in your own work:
@misc{li2024openfglcomprehensivebenchmarksfederated,
title={OpenFGL: A Comprehensive Benchmarks for Federated Graph Learning},
author={Xunkai Li and Yinlin Zhu and Boyang Pang and Guochen Yan and Yeyu Yan and Zening Li and Zhengyu Wu and Wentao Zhang and Rong-Hua Li and Guoren Wang},
year={2024},
eprint={2408.16288},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2408.16288},
}
Metadata
Release files for openfgl-lib 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openfgl_lib-1.1.0.tar.gz | 1.4 MB | Without provenance | Details for openfgl_lib-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openfgl_lib-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for openfgl_lib-1.1.0-py3-none-any.whl |
Total release size: 1.5 MB
Release files / openfgl_lib-1.1.0.tar.gz
| Download URL | openfgl_lib-1.1.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b3d4a61e1da9281e0b0609c17d77e5609658fd7dc68bd67273ebcea6b53f0fb
|
|
BLAKE2b-256 checksum How to use checksums |
254c85fa1f28230fe0de7b90539d6236eabba3761da18e3a981f990d603efec9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Release files / openfgl_lib-1.1.0-py3-none-any.whl
| Download URL | openfgl_lib-1.1.0-py3-none-any.whl |
|---|---|
| Size | 190.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adb6eecee64b6a622f968fc39135625707791bb5f2070eb9c380bd24faf8aeea
|
|
BLAKE2b-256 checksum How to use checksums |
6aab45541254e35274e175849be84dc018a0a11a089f095e52ccdd344725c523
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Security for openfgl-lib 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.