https://github.com/sadmansakib93/federated-learning-keras
Sample Keras implementation of the Federated Learning (FL) for experimental research simulations.
https://github.com/sadmansakib93/federated-learning-keras
deep-federated-learning deep-learning distributed-computing federated federated-learning federation keras python3 tensorflow-examples
Last synced: 8 months ago
JSON representation
Sample Keras implementation of the Federated Learning (FL) for experimental research simulations.
- Host: GitHub
- URL: https://github.com/sadmansakib93/federated-learning-keras
- Owner: SadmanSakib93
- Created: 2021-02-14T16:47:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-14T02:23:40.000Z (about 3 years ago)
- Last Synced: 2025-01-31T03:12:38.624Z (8 months ago)
- Topics: deep-federated-learning, deep-learning, distributed-computing, federated, federated-learning, federation, keras, python3, tensorflow-examples
- Language: Jupyter Notebook
- Homepage:
- Size: 15.6 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Federated Learning Keras
- Replace your own dataset file as the dataset.csv.
- Note that, the sample dataset.csv file I used, it has its labels (Y) in the first column named as "label". The 2nd to nth columns are the features (X). You might want to change the code according to your dataset structure to ensure proper feature and label handlingFollowing is a sample dataset structure that the program expects:
- So, basically, the first column is your class label (defined as "label"). The rest of the columns are the independent features of the dataset. For example, in this picture, there are 20 features denoted as A1 to A20. Note that, all the features are numerical features in the CSV file. If you have some categorical features, you have to perform One hot encoding/Label encoding to make them numbers, and then after you can run the program! Hope this helps.
- A sample research publication where similar program was used: https://ieeexplore.ieee.org/abstract/document/9500351## This is a sample Keras implementation of the Federated Learning (FL) for experimental research simulations and might need further modifications to implement it in real-life scenarios.