An open API service indexing awesome lists of open source software.

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.

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 handling

Following is a sample dataset structure that the program expects:
![image](https://user-images.githubusercontent.com/27827295/149410524-feb98dee-ad42-4966-9223-4b1ae8b943d2.png)

- 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.