Vaibhav13kamat / Covid-detection-FL

Final Year Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Covid-detection-FL

Final Year Project

Commands


python client1.py 9969

python client2.py 9969

python server.py 9969

FED_AVG ALgorithms

In Federated Learning (FL), aggregation algorithms are used to combine the model updates from different devices or parties to create a global model. The choice of aggregation algorithm depends on various factors such as the nature of the data, the privacy requirements, and the performance goals of the FL system.

For chest X-rays, there are several aggregation algorithms that could be used, such as:

Federated Averaging (FedAvg): This is the most commonly used aggregation algorithm in FL. It involves computing the average of the model updates from each device or party and using this average to update the global model.

Federated Stochastic Gradient Descent (FedSGD): This algorithm is similar to FedAvg but uses stochastic gradient descent (SGD) to optimize the global model. It is more computationally efficient than FedAvg but may require more communication between devices.

Secure Aggregation: This algorithm is designed to ensure the privacy of the model updates by using cryptographic techniques to aggregate the updates without revealing their contents.

Federated Exponentially Weighted Aggregation (FedEWA): This algorithm uses an exponential weighting scheme to give more weight to recent model updates. It is designed to improve the convergence speed of the FL system.

The choice of aggregation algorithm for chest X-rays will depend on factors such as the number of devices or parties involved, the computational resources available, and the privacy requirements of the FL system. It is important to carefully consider these factors when selecting an aggregation algorithm to ensure that the FL system performs optimally while maintaining the privacy and security of the data.

Preprocessing

  • resized
  • normalized
  • gaussian blur
  • flipped
  • rotated

Insructions

pip install -r requirements.txt

chmod +x update.sh

./update_dependencies.sh

THE LINK TO THE IMPLEMENTATION PART[https://github.com/Vaibhav13kamat/Fl_ui]

About

Final Year Project


Languages

Language:Python 93.9%Language:Jupyter Notebook 6.0%Language:PowerShell 0.1%Language:Shell 0.0%Language:HTML 0.0%