Skip to content

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages