Giter Site home page Giter Site logo

shaashwat05 / clustered-fl-ga Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sagnik106/clustered-fl-ga

1.0 1.0 0.0 217 KB

Sample code for federated learning and clustered federated learning with genetic algorithm

Jupyter Notebook 100.00%
federated-learning deep-learning neural-network dbscan-clustering genetic-algorithm optimization mnist-dataset cifar10

clustered-fl-ga's Introduction

forthebadge made-with-python

Python 3.8

Clustered FL GA

The work exlpores the application of Genetic Algorithm and DBSCAN clustering for efficient training and communication in Federated Learning.

Prerequisites

What things you need to install the software and how to install them

matplotlib
numpy 
random
sklearn
itertools
tensorflow==2.2

Getting Started

Download a python interpeter preferable a version beyond 3.0 and jupyter notebook to support the same. Install the prerequisute libraries given above,and make sure you have the correct version of TensorFlow. Also certain hardware and software requirements like good Nvidia GPU and (CUDA+CUDNN) respectively are required. Run the respective files for federated learning for MNIST dataset and CIFAR10 datset.

$ tf_cluster_cifar10.ipynb

$ tf_cluster_mnist.ipynb

Cloning

$ git clone https://github.com/sagnik106/Clustered-FL-GA

Built With

Author

LinkedIn-profile Github-profile

Documentation

The research paper for the complete algorithm and explanation of Genetic CFL is present in this link: https://www.hindawi.com/journals/cin/2021/7156420/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.