MEDfl 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/__pycache__/client.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/__pycache__/server.cpython-39.pyc +0 -0
- MEDfl-0.2.1/MEDfl/LearningManager/__pycache__/strategy.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/__pycache__/utils.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/client.py +31 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/server.py +8 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/strategy.py +63 -7
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/database_connector.py +1 -1
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl.egg-info/PKG-INFO +1 -1
- {MEDfl-0.2.0 → MEDfl-0.2.1}/PKG-INFO +1 -1
- MEDfl-0.2.1/notebooks/banchmarking/MEDfl_benchmarks.ipynb +1177 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/banchmarking/benchmarks_results.txt +253 -0
- MEDfl-0.2.1/notebooks/banchmarking/network_architecture/net_bachmarking_conf_1.ipynb +5574 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/banchmarking/network_architecture/net_bachmarking_conf_2.ipynb +819 -815
- MEDfl-0.2.1/notebooks/data/nodesData/output_1.csv +5001 -0
- MEDfl-0.2.1/notebooks/data/nodesData/output_2.csv +5001 -0
- MEDfl-0.2.1/notebooks/data/nodesData/output_3.csv +5001 -0
- MEDfl-0.2.1/notebooks/data/nodesData/output_4.csv +5001 -0
- MEDfl-0.2.1/notebooks/data/nodesData/output_5.csv +5001 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/setup.py +1 -1
- MEDfl-0.2.0/MEDfl/LearningManager/__pycache__/strategy.cpython-39.pyc +0 -0
- MEDfl-0.2.0/notebooks/banchmarking/MEDfl_benchmarks.ipynb +0 -5495
- MEDfl-0.2.0/notebooks/banchmarking/network_architecture/net_bachmarking_conf_1.ipynb +0 -52741
- MEDfl-0.2.0/notebooks/data/nodesData/output_1.csv +0 -10001
- MEDfl-0.2.0/notebooks/data/nodesData/output_2.csv +0 -10001
- MEDfl-0.2.0/notebooks/data/nodesData/output_3.csv +0 -10001
- MEDfl-0.2.0/notebooks/data/nodesData/output_4.csv +0 -10001
- MEDfl-0.2.0/notebooks/data/nodesData/output_5.csv +0 -10001
- {MEDfl-0.2.0 → MEDfl-0.2.1}/.github/workflows/main.yml +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/.gitignore +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/.idea/.gitignore +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/.idea/MEDfl.iml +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/.idea/misc.xml +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/.idea/modules.xml +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/.idea/vcs.xml +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/LICENSE +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/__init__.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/__pycache__/__init__.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/__pycache__/federated_dataset.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/__pycache__/model.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/dynamicModal.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/federated_dataset.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/flpipeline.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/model.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/params.yaml +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/params_optimiser.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/plot.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/LearningManager/utils.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/__init__.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/__pycache__/__init__.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/__pycache__/net_helper.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/__pycache__/net_manager_queries.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/dataset.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/flsetup.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/net_helper.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/net_manager_queries.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/network.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/NetManager/node.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/__init__.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/__pycache__/__init__.cpython-39.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/scripts/__init__.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/scripts/base.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl/scripts/create_db.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl.egg-info/SOURCES.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl.egg-info/dependency_links.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl.egg-info/requires.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/MEDfl.egg-info/top_level.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/README.md +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/README +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/__init__.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/__pycache__/env.cpython-38.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/alembic_logging.ini +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/debug.log +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/env.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/script.py.mako +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/versions/__pycache__/b159ee510a90_initial.cpython-38.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic/versions/b159ee510a90_initial.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/alembic.ini +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/Makefile +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/.buildinfo +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/.doctrees/Medfl.LearningManager.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/.doctrees/Medfl.NetManager.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/.doctrees/Medfl.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/.doctrees/environment.pickle +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/.doctrees/index.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/.doctrees/modules.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/.nojekyll +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/Medfl.LearningManager.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/Medfl.NetManager.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/Medfl.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/client.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/dynamicModal.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/federated_dataset.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/flpipeline.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/model.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/plot.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/server.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/strategy.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/LearningManager/utils.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/NetManager/dataset.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/NetManager/flsetup.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/NetManager/net_helper.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/NetManager/network.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/Medfl/NetManager/node.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_modules/index.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_sources/Medfl.LearningManager.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_sources/Medfl.NetManager.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_sources/Medfl.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_sources/index.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_sources/modules.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/MEDomics.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/_sphinx_javascript_frameworks_compat.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/basic.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/badge_only.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/fontawesome-webfont.eot +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/fontawesome-webfont.svg +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/fontawesome-webfont.ttf +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/fontawesome-webfont.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/lato-bold-italic.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/lato-bold-italic.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/lato-bold.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/lato-bold.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/lato-normal-italic.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/lato-normal-italic.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/lato-normal.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/fonts/lato-normal.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/css/theme.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/dark_mode_css/custom.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/dark_mode_css/dark.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/dark_mode_css/general.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/dark_mode_js/default_dark.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/dark_mode_js/default_light.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/dark_mode_js/theme_switcher.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/doctools.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/documentation_options.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/file.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/jquery.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/js/badge_only.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/js/html5shiv-printshiv.min.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/js/html5shiv.min.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/js/theme.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/language_data.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/minus.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/plus.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/pygments.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/searchtools.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/_static/sphinx_highlight.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/genindex.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/index.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/modules.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/objects.inv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/py-modindex.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/search.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/_build/searchindex.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/Documentation.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/Installation.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/Medfl.LearningManager.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/Medfl.NetManager.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/Medfl.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/configuration_file.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/environment.pickle +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/index.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/modules.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/doctrees/tutorials.doctree +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/.buildinfo +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/.nojekyll +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/Documentation.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/Installation.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/Medfl.LearningManager.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/Medfl.NetManager.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/Medfl.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/FTL_comp.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/LearningManager.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/MEDfl_Diagramm.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/NetManager_Diagramm.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/learningresults.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/mysqllogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/phpmyadmin.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/wampLogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_images/xampplogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/client.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/dynamicModal.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/federated_dataset.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/flpipeline.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/model.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/plot.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/server.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/strategy.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/LearningManager/utils.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/NetManager/dataset.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/NetManager/flsetup.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/NetManager/net_helper.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/NetManager/network.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/Medfl/NetManager/node.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_modules/index.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/Documentation.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/Installation.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/Medfl.LearningManager.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/Medfl.NetManager.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/Medfl.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/configuration_file.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/index.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/modules.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_sources/tutorials.rst.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/MEDomics.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/_sphinx_javascript_frameworks_compat.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/basic.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/badge_only.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/fontawesome-webfont.svg +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/lato-bold-italic.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/lato-bold.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/lato-bold.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/lato-normal-italic.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/lato-normal.woff +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/fonts/lato-normal.woff2 +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/css/theme.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/custom.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/dark_mode_css/custom.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/dark_mode_css/dark.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/dark_mode_css/general.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/dark_mode_js/default_dark.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/dark_mode_js/default_light.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/dark_mode_js/theme_switcher.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/doctools.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/documentation_options.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/file.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/jquery-3.6.0.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/jquery.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/js/badge_only.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/js/html5shiv-printshiv.min.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/js/html5shiv.min.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/js/theme.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/language_data.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/minus.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/plus.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/pygments.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/searchtools.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/sphinx_highlight.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/underscore-1.13.1.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/_static/underscore.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/configuration_file.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/genindex.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/index.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/modules.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/objects.inv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/py-modindex.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/search.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/searchindex.js +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/build/html/tutorials.html +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/make.bat +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/Documentation.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/Installation.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/Medfl.LearningManager.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/Medfl.NetManager.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/Medfl.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/_static/custom.css +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/conf.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/configuration_file.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/FL_gen.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/FTL_comp.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/FlDatasetDiagramm.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/GDP.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/LDP.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/LearningManager.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/MEDfl_Diagramm.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/Modelinit.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/NetManager_Diagramm.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/NetworkCreation.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/createServer.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/learningresults.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/logos/mysqllogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/logos/phpmyadmin.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/logos/wampLogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/logos/xampplogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/modeltest.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/netMan.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/nodecreation.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/pipeline.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/Images/strategy.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/figures/MEDomics.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/index.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/modules.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/docs/source/tutorials.rst +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/global_params.yaml +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/.ipynb_checkpoints/trainedModels/binary_classifier.pth +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/.ipynb_checkpoints/trainedModels/eicu_binary_classifier.pth +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/.ipynb_checkpoints/trainedModels/grid_search_classifier.pth +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/.ipynb_checkpoints/trainedModels/new_binary_classifier.pth +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/.ipynb_checkpoints/trainedModels/updated_model.pth +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/First_Tuto.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/FL_gen.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/FTL_comp.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/FlDatasetDiagramm.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/GDP.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/LDP.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/LearningManager.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/MEDfl_Diagramm.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/MEDfl_bachmarking_plan.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/Modelinit.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/NetManager_Diagramm.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/NetworkCreation.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/createServer.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/learningresults.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/logos/mysqllogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/logos/phpmyadmin.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/logos/wampLogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/logos/xampplogo.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/modeltest.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/netMan.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/nodecreation.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/optuna_optim_diag.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/pipeline.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/Images/strategy.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/banchmarking/banchmarking_plan.md +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/banchmarking/transfer_learning/TL_activated.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/banchmarking/transfer_learning/TL_dectivated.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/chunk_1.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/chunk_2.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/chunk_3.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/config_1/part_1.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/config_1/part_2.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/config_1/part_3.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/config_1/test_1.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/config_1/test_2.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/eicu_sapsii_data.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/eicu_sapsii_data_test.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/eicu_sapsii_data_test_1.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/masterDataSet/Mimic_ouael.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/masterDataSet/Mimic_train.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/masterDataSet/eICU.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/test_1.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/test_2.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/test_3.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/data/validation/Mimic_validation.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/eicu_test.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/eicu_test_1.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/eicu_test_2.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/eicu_test_3.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/sapsii_score_knnimputed_eicu.csv +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/1_DB.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/2_NetManager.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/3_TransferLearning copy.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/3_TransferLearning.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/4_LearningManager.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/5_LearningResults.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/6_ModelChoice.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/7_ParamsOptimiser.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/8_complete_tutorial.ipynb +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/newplot2.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/notebooks/tutorial/newplot4.png +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/requirements.txt +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/setup.cfg +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/setup_mysql.sh +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/__init__.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/__pycache__/test_dataset.cpython-38.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/__pycache__/test_federated_dataset.cpython-38.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/__pycache__/test_flpipeline.cpython-38.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/__pycache__/test_flsetup.cpython-38.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/__pycache__/test_network.cpython-38.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/__pycache__/test_node.cpython-38.pyc +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/test_dataset.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/test_federated_dataset.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/test_flpipeline.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/test_flsetup.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/test_network.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/tests/test_node.py +0 -0
- {MEDfl-0.2.0 → MEDfl-0.2.1}/workflows/migration.yml +0 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -7,6 +7,8 @@ from .model import Model
|
|
7
7
|
from .utils import params
|
8
8
|
import torch
|
9
9
|
|
10
|
+
import optuna
|
11
|
+
|
10
12
|
class FlowerClient(fl.client.NumPyClient):
|
11
13
|
"""
|
12
14
|
FlowerClient class for creating MEDfl clients.
|
@@ -107,6 +109,7 @@ class FlowerClient(fl.client.NumPyClient):
|
|
107
109
|
Returns:
|
108
110
|
Tuple: Parameters of the local model, number of training examples, and privacy information.
|
109
111
|
"""
|
112
|
+
|
110
113
|
print('\n -------------------------------- \n this is the config of the client')
|
111
114
|
print(f"[Client {self.cid}] fit, config: {config}")
|
112
115
|
# print(config['epochs'])
|
@@ -147,4 +150,32 @@ class FlowerClient(fl.client.NumPyClient):
|
|
147
150
|
self.losses.append(loss)
|
148
151
|
self.accuracies.append(accuracy)
|
149
152
|
|
153
|
+
print(f"[ ============== From evaluate ==== Client {self.cid}] fit, config: {config}")
|
154
|
+
|
155
|
+
|
156
|
+
# if('study' in config):
|
157
|
+
# if 0 < config['server_round'] <= config['HPO_factor']*config['server_rounds'] and (config['server_round'] -1) %(config['HPO_RATE'] )==0:
|
158
|
+
# print("==================== this is th optimisations info ===================")
|
159
|
+
# print(auc)
|
160
|
+
# print(config['trail'])
|
161
|
+
# print('---------')
|
162
|
+
# print(config['study'].trials[0].state)
|
163
|
+
# try:
|
164
|
+
# # Call tell() method to report the result
|
165
|
+
# config['study'].tell(config['trail'], auc)
|
166
|
+
|
167
|
+
# # Fetch the updated trial from the study
|
168
|
+
# updated_trial = config['trail']
|
169
|
+
|
170
|
+
# # Check the state of the trial
|
171
|
+
# if updated_trial.state == optuna.trial.TrialState.COMPLETE:
|
172
|
+
# print(f"Trial {updated_trial.number} completed successfully with value {updated_trial.value}")
|
173
|
+
# else:
|
174
|
+
# print(f"Trial {updated_trial.number} is in state {updated_trial.state}")
|
175
|
+
|
176
|
+
# except Exception as e:
|
177
|
+
# # Handle and log any errors
|
178
|
+
# print(f"Error during tell(): {e}")
|
179
|
+
|
180
|
+
|
150
181
|
return float(loss), len(self.valloader), {"accuracy": float(accuracy)}
|
@@ -152,6 +152,14 @@ class FlowerServer:
|
|
152
152
|
self.auc.append(auc)
|
153
153
|
self.losses.append(loss)
|
154
154
|
self.accuracies.append(accuracy)
|
155
|
+
|
156
|
+
if hasattr(self.strategy, 'study') and 0 < server_round <= self.strategy.HPO_factor*self.num_rounds and (server_round -1) %(self.strategy.hpo_rate )==0:
|
157
|
+
|
158
|
+
print("================ Weeeee aaaaaareee hre ========================")
|
159
|
+
|
160
|
+
for trail in self.strategy.trail:
|
161
|
+
|
162
|
+
self.strategy.study.tell(trail , auc)
|
155
163
|
|
156
164
|
return loss, {"accuracy": accuracy}
|
157
165
|
|
@@ -35,7 +35,8 @@ class Strategy:
|
|
35
35
|
min_evaluate_clients: int = 2,
|
36
36
|
min_available_clients: int = 2,
|
37
37
|
initial_parameters = [],
|
38
|
-
evaluation_methode = "centralized"
|
38
|
+
evaluation_methode = "centralized" ,
|
39
|
+
config = None
|
39
40
|
) -> None:
|
40
41
|
"""
|
41
42
|
Initialize a Strategy object with the specified parameters.
|
@@ -57,12 +58,62 @@ class Strategy:
|
|
57
58
|
self.min_available_clients = min_available_clients
|
58
59
|
self.initial_parameters = initial_parameters
|
59
60
|
self.evaluate_fn = None
|
60
|
-
self.name = name
|
61
|
-
|
62
|
-
|
63
|
-
|
61
|
+
self.name = name
|
62
|
+
self.config = config
|
63
|
+
self.server_round = 0
|
64
|
+
|
65
|
+
def get_trial(self, trial_number):
|
66
|
+
# Retrieve the trial from the study
|
67
|
+
trial = next((t for t in self.study.trials if t.number == trial_number), None)
|
68
|
+
if trial:
|
69
|
+
return trial
|
70
|
+
else:
|
71
|
+
return "Trial not found"
|
72
|
+
|
73
|
+
def fit_config(self , server_round: int):
|
74
|
+
"""Return training configuration dict for each round.
|
75
|
+
|
76
|
+
Perform two rounds of training with one local epoch, increase to two local
|
77
|
+
epochs afterwards.
|
78
|
+
"""
|
79
|
+
config = self.config
|
80
|
+
|
81
|
+
if hasattr(self, 'study'):
|
82
|
+
if 0 < server_round <= 0.7*10 and (server_round - 1 ) % self.hpo_rate == 0 :
|
83
|
+
if(self.server_round < server_round):
|
84
|
+
self.server_round = server_round
|
85
|
+
self.trail = []
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
print('================= this is the server trails')
|
90
|
+
print(self.trail)
|
91
|
+
|
92
|
+
trail = self.study.ask()
|
93
|
+
self.trail.append(trail)
|
94
|
+
learning_rate = trail.suggest_float('learning_rate', 1e-5, 1e-1)
|
95
|
+
print(self.study.trials)
|
96
|
+
print(trail.number)
|
97
|
+
config = {
|
98
|
+
"trail" : trail ,
|
99
|
+
"server_rounds": 5 ,
|
100
|
+
"server_round" : server_round ,
|
101
|
+
"HPO_factor" : 0.5 ,
|
102
|
+
"study" : self.study ,
|
103
|
+
"HPO_RATE" : self.hpo_rate ,
|
104
|
+
"params" : {
|
105
|
+
"learning_rate" : learning_rate
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
return config
|
110
|
+
|
111
|
+
def optuna_fed_optimization(self, direction:str , hpo_rate:int , hpo_factor , params_config , sampler="TPESampler" , metric='AUC'):
|
112
|
+
self.study = optuna.create_study(direction=direction , sampler=self.get_sampler_by_name(sampler)())
|
64
113
|
self.hpo_rate = hpo_rate
|
65
|
-
self.
|
114
|
+
self.HPO_factor = hpo_factor
|
115
|
+
self.config = params_config
|
116
|
+
self.opt_metric = metric
|
66
117
|
|
67
118
|
|
68
119
|
def create_strategy(self):
|
@@ -73,10 +124,15 @@ class Strategy:
|
|
73
124
|
min_evaluate_clients=self.min_evaluate_clients,
|
74
125
|
min_available_clients=self.min_available_clients,
|
75
126
|
initial_parameters=fl.common.ndarrays_to_parameters(self.initial_parameters),
|
76
|
-
evaluate_fn=self.evaluate_fn
|
127
|
+
evaluate_fn=self.evaluate_fn ,
|
128
|
+
on_fit_config_fn = self.fit_config ,
|
129
|
+
on_evaluate_config_fn = self.fit_config
|
77
130
|
)
|
78
131
|
def get_strategy_by_name(self):
|
79
132
|
return eval(f"fl.server.strategy.{self.name}")
|
80
133
|
|
134
|
+
def get_sampler_by_name(self , name) :
|
135
|
+
return eval(f"optuna.samplers.{name}")
|
136
|
+
|
81
137
|
|
82
138
|
|
@@ -34,7 +34,7 @@ class DatabaseManager:
|
|
34
34
|
create_db_script_path = os.path.join(current_directory, '..', 'scripts', 'create_db.py')
|
35
35
|
|
36
36
|
# Execute the create_db.py script
|
37
|
-
subprocess.run(['
|
37
|
+
subprocess.run(['python', create_db_script_path, path_to_csv], check=True)
|
38
38
|
|
39
39
|
return
|
40
40
|
|