Skip to content

LucasMLago/FederatedGeneticAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Federated Genetic Algorithm

Federated Learning simulation using Flower where each client runs a Genetic Algorithm to optimize hyperparameters locally before training a model.

Requirements

  • Python 3.10
  • uv (recommended) or pip

Installation

# 1. Create and activate a virtual environment
uv venv --python 3.10
source .venv/bin/activate   # macOS / Linux
# .venv\Scripts\activate    # Windows

# 2. Install the Flower app and its dependencies
cd federatedgeneticalgorithm
pip install -e .

Running

All commands below must be run from inside the federatedgeneticalgorithm/ directory.

CPU (default)

flwr run .

GPU

flwr run . local-simulation-gpu

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors