/summer-intern

Summer internship in ADU under the consultancy of our teacher Asst. Prof. Fatih SOYGAZİ. We are designing multi-agent system based on federated learning

Primary LanguagePython

summer-intern

in ini file slave agent's name must end with integer and must me sequential. For example: agent1, agent2, agent3, agent4 or a1, a2, a3, a4 or xgboost1, adaboost2, lightgbm3, randomforest4

Development

# for lightgbm installation https://lightgbm.readthedocs.io/en/stable/Installation-Guide.html#visual-studio-or-vs-build-tools

docker-compose -f .\docker-compose.yml up
# after cloning and navigating to the directory
python -m venv venv
source venv/bin/activate # for linux and mac
venv\Scripts\Activate.ps1 # for windows
pip install -r requirements.txt

# you can run main file like below example
# main file only helps with running multiple agents
# you can call master_main or slave_main using asyncio seperately
python src/main.py --slave agent1 agent2 agent3 agent4

TO-DO's

  • Best slave selection
  • voting for regression models
  • training unique and common ratio between (0,100,5)
  • code doesnt exits because of slave listen loop
  • reading from slaves and saving it to a file not working properly
  • Code exits after group and consumer creation, master not sending data
  • Check after slave reading is done if data consistent between X and y or row count...