Skip to content

Simple implementation of blockchain-based federated learning.

License

Notifications You must be signed in to change notification settings

dteti-sys-rsch/simple-bc-fl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-bc-fl

Simple implementation of blockchain-based federated learning.

Note: This only works on python 3.9

How to run the code:

  • Install Ganache or Hardhat Network
  • Install solc for Ethereum:
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install solc
  • Run the local Eth Network, i.e., either Ganache or Hardhat Network.
  • You may want to use virtual environment on python.
  • Install python dependencies:
pip install -r requirements.txt

  • Run the python code:
python federated.py

About

Simple implementation of blockchain-based federated learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published