MEDfl 0.1.23__tar.gz → 0.1.25__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.
Files changed (410) hide show
  1. {Medfl-0.1.23 → MEDfl-0.1.25}/MEDfl.egg-info/PKG-INFO +3 -3
  2. {Medfl-0.1.23 → MEDfl-0.1.25}/MEDfl.egg-info/SOURCES.txt +1 -1
  3. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/server.py +4 -2
  4. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/utils.py +1 -1
  5. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/net_helper.py +19 -35
  6. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/network.py +10 -4
  7. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/node.py +11 -17
  8. {Medfl-0.1.23 → MEDfl-0.1.25}/PKG-INFO +3 -3
  9. {Medfl-0.1.23 → MEDfl-0.1.25}/README.md +1 -1
  10. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/configuration_file.rst.txt +1 -1
  11. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/configuration_file.html +1 -1
  12. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/configuration_file.rst +1 -1
  13. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/banchmarking/MEDfl_benchmarks.ipynb +97 -160
  14. {Medfl-0.1.23 → MEDfl-0.1.25}/scripts/base.py +1 -1
  15. {Medfl-0.1.23 → MEDfl-0.1.25}/scripts/create_db.py +10 -9
  16. {Medfl-0.1.23 → MEDfl-0.1.25}/setup.py +4 -4
  17. {Medfl-0.1.23 → MEDfl-0.1.25}/.github/workflows/main.yml +0 -0
  18. {Medfl-0.1.23 → MEDfl-0.1.25}/.gitignore +0 -0
  19. {Medfl-0.1.23 → MEDfl-0.1.25}/.idea/.gitignore +0 -0
  20. {Medfl-0.1.23 → MEDfl-0.1.25}/.idea/MEDfl.iml +0 -0
  21. {Medfl-0.1.23 → MEDfl-0.1.25}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
  22. {Medfl-0.1.23 → MEDfl-0.1.25}/.idea/misc.xml +0 -0
  23. {Medfl-0.1.23 → MEDfl-0.1.25}/.idea/modules.xml +0 -0
  24. {Medfl-0.1.23 → MEDfl-0.1.25}/.idea/vcs.xml +0 -0
  25. {Medfl-0.1.23 → MEDfl-0.1.25}/MEDfl.egg-info/dependency_links.txt +0 -0
  26. {Medfl-0.1.23 → MEDfl-0.1.25}/MEDfl.egg-info/requires.txt +0 -0
  27. {Medfl-0.1.23 → MEDfl-0.1.25}/MEDfl.egg-info/top_level.txt +0 -0
  28. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__init__.py +0 -0
  29. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/__init__.cpython-38.pyc +0 -0
  30. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/__init__.cpython-39.pyc +0 -0
  31. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/client.cpython-38.pyc +0 -0
  32. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/client.cpython-39.pyc +0 -0
  33. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/dynamicModal.cpython-38.pyc +0 -0
  34. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/dynamicModal.cpython-39.pyc +0 -0
  35. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/federated_dataset.cpython-38.pyc +0 -0
  36. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/federated_dataset.cpython-39.pyc +0 -0
  37. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/flpipeline.cpython-38.pyc +0 -0
  38. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/flpipeline.cpython-39.pyc +0 -0
  39. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/model.cpython-38.pyc +0 -0
  40. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/model.cpython-39.pyc +0 -0
  41. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/plot.cpython-38.pyc +0 -0
  42. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/plot.cpython-39.pyc +0 -0
  43. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/server.cpython-38.pyc +0 -0
  44. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/server.cpython-39.pyc +0 -0
  45. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/strategy.cpython-38.pyc +0 -0
  46. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/strategy.cpython-39.pyc +0 -0
  47. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/utils.cpython-38.pyc +0 -0
  48. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/__pycache__/utils.cpython-39.pyc +0 -0
  49. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/client.py +0 -0
  50. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/dynamicModal.py +0 -0
  51. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/federated_dataset.py +0 -0
  52. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/flpipeline.py +0 -0
  53. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/model.py +0 -0
  54. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/params.yaml +0 -0
  55. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/params_optimiser.py +0 -0
  56. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/plot.py +0 -0
  57. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/LearningManager/strategy.py +0 -0
  58. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__init__.py +0 -0
  59. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/__init__.cpython-38.pyc +0 -0
  60. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/__init__.cpython-39.pyc +0 -0
  61. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/dataset.cpython-38.pyc +0 -0
  62. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/dataset.cpython-39.pyc +0 -0
  63. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/flsetup.cpython-38.pyc +0 -0
  64. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/flsetup.cpython-39.pyc +0 -0
  65. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/net_helper.cpython-38.pyc +0 -0
  66. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/net_helper.cpython-39.pyc +0 -0
  67. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/net_manager_queries.cpython-38.pyc +0 -0
  68. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/net_manager_queries.cpython-39.pyc +0 -0
  69. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/network.cpython-38.pyc +0 -0
  70. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/network.cpython-39.pyc +0 -0
  71. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/node.cpython-38.pyc +0 -0
  72. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/__pycache__/node.cpython-39.pyc +0 -0
  73. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/database_connector.py +0 -0
  74. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/dataset.py +0 -0
  75. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/flsetup.py +0 -0
  76. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/NetManager/net_manager_queries.py +0 -0
  77. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/__init__.py +0 -0
  78. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/__pycache__/__init__.cpython-38.pyc +0 -0
  79. {Medfl-0.1.23 → MEDfl-0.1.25}/Medfl/__pycache__/__init__.cpython-39.pyc +0 -0
  80. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/README +0 -0
  81. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/__init__.py +0 -0
  82. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/__pycache__/env.cpython-38.pyc +0 -0
  83. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/alembic_logging.ini +0 -0
  84. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/debug.log +0 -0
  85. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/env.py +0 -0
  86. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/script.py.mako +0 -0
  87. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/versions/__pycache__/b159ee510a90_initial.cpython-38.pyc +0 -0
  88. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic/versions/b159ee510a90_initial.py +0 -0
  89. {Medfl-0.1.23 → MEDfl-0.1.25}/alembic.ini +0 -0
  90. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/Makefile +0 -0
  91. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/.buildinfo +0 -0
  92. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/.doctrees/Medfl.LearningManager.doctree +0 -0
  93. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/.doctrees/Medfl.NetManager.doctree +0 -0
  94. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/.doctrees/Medfl.doctree +0 -0
  95. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/.doctrees/environment.pickle +0 -0
  96. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/.doctrees/index.doctree +0 -0
  97. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/.doctrees/modules.doctree +0 -0
  98. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/.nojekyll +0 -0
  99. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/Medfl.LearningManager.html +0 -0
  100. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/Medfl.NetManager.html +0 -0
  101. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/Medfl.html +0 -0
  102. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/client.html +0 -0
  103. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/dynamicModal.html +0 -0
  104. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/federated_dataset.html +0 -0
  105. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/flpipeline.html +0 -0
  106. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/model.html +0 -0
  107. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/plot.html +0 -0
  108. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/server.html +0 -0
  109. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/strategy.html +0 -0
  110. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/LearningManager/utils.html +0 -0
  111. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/NetManager/dataset.html +0 -0
  112. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/NetManager/flsetup.html +0 -0
  113. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/NetManager/net_helper.html +0 -0
  114. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/NetManager/network.html +0 -0
  115. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/Medfl/NetManager/node.html +0 -0
  116. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_modules/index.html +0 -0
  117. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_sources/Medfl.LearningManager.rst.txt +0 -0
  118. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_sources/Medfl.NetManager.rst.txt +0 -0
  119. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_sources/Medfl.rst.txt +0 -0
  120. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_sources/index.rst.txt +0 -0
  121. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_sources/modules.rst.txt +0 -0
  122. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/MEDomics.png +0 -0
  123. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/_sphinx_javascript_frameworks_compat.js +0 -0
  124. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/basic.css +0 -0
  125. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/badge_only.css +0 -0
  126. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
  127. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  128. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
  129. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  130. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/fontawesome-webfont.eot +0 -0
  131. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/fontawesome-webfont.svg +0 -0
  132. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/fontawesome-webfont.ttf +0 -0
  133. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/fontawesome-webfont.woff +0 -0
  134. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
  135. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/lato-bold-italic.woff +0 -0
  136. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/lato-bold-italic.woff2 +0 -0
  137. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/lato-bold.woff +0 -0
  138. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/lato-bold.woff2 +0 -0
  139. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/lato-normal-italic.woff +0 -0
  140. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/lato-normal-italic.woff2 +0 -0
  141. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/lato-normal.woff +0 -0
  142. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/fonts/lato-normal.woff2 +0 -0
  143. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/css/theme.css +0 -0
  144. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/dark_mode_css/custom.css +0 -0
  145. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/dark_mode_css/dark.css +0 -0
  146. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/dark_mode_css/general.css +0 -0
  147. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/dark_mode_js/default_dark.js +0 -0
  148. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/dark_mode_js/default_light.js +0 -0
  149. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/dark_mode_js/theme_switcher.js +0 -0
  150. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/doctools.js +0 -0
  151. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/documentation_options.js +0 -0
  152. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/file.png +0 -0
  153. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/jquery.js +0 -0
  154. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/js/badge_only.js +0 -0
  155. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/js/html5shiv-printshiv.min.js +0 -0
  156. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/js/html5shiv.min.js +0 -0
  157. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/js/theme.js +0 -0
  158. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/language_data.js +0 -0
  159. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/minus.png +0 -0
  160. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/plus.png +0 -0
  161. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/pygments.css +0 -0
  162. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/searchtools.js +0 -0
  163. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/_static/sphinx_highlight.js +0 -0
  164. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/genindex.html +0 -0
  165. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/index.html +0 -0
  166. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/modules.html +0 -0
  167. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/objects.inv +0 -0
  168. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/py-modindex.html +0 -0
  169. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/search.html +0 -0
  170. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/_build/searchindex.js +0 -0
  171. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/Documentation.doctree +0 -0
  172. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/Installation.doctree +0 -0
  173. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/Medfl.LearningManager.doctree +0 -0
  174. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/Medfl.NetManager.doctree +0 -0
  175. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/Medfl.doctree +0 -0
  176. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/configuration_file.doctree +0 -0
  177. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/environment.pickle +0 -0
  178. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/index.doctree +0 -0
  179. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/modules.doctree +0 -0
  180. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/doctrees/tutorials.doctree +0 -0
  181. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/.buildinfo +0 -0
  182. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/.nojekyll +0 -0
  183. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/Documentation.html +0 -0
  184. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/Installation.html +0 -0
  185. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/Medfl.LearningManager.html +0 -0
  186. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/Medfl.NetManager.html +0 -0
  187. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/Medfl.html +0 -0
  188. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/FTL_comp.png +0 -0
  189. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/LearningManager.png +0 -0
  190. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/MEDfl_Diagramm.png +0 -0
  191. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/NetManager_Diagramm.png +0 -0
  192. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/learningresults.png +0 -0
  193. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/mysqllogo.png +0 -0
  194. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/phpmyadmin.png +0 -0
  195. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/wampLogo.png +0 -0
  196. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_images/xampplogo.png +0 -0
  197. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/client.html +0 -0
  198. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/dynamicModal.html +0 -0
  199. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/federated_dataset.html +0 -0
  200. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/flpipeline.html +0 -0
  201. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/model.html +0 -0
  202. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/plot.html +0 -0
  203. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/server.html +0 -0
  204. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/strategy.html +0 -0
  205. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/LearningManager/utils.html +0 -0
  206. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/NetManager/dataset.html +0 -0
  207. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/NetManager/flsetup.html +0 -0
  208. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/NetManager/net_helper.html +0 -0
  209. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/NetManager/network.html +0 -0
  210. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/Medfl/NetManager/node.html +0 -0
  211. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_modules/index.html +0 -0
  212. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/Documentation.rst.txt +0 -0
  213. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/Installation.rst.txt +0 -0
  214. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/Medfl.LearningManager.rst.txt +0 -0
  215. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/Medfl.NetManager.rst.txt +0 -0
  216. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/Medfl.rst.txt +0 -0
  217. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/index.rst.txt +0 -0
  218. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/modules.rst.txt +0 -0
  219. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_sources/tutorials.rst.txt +0 -0
  220. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/MEDomics.png +0 -0
  221. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/_sphinx_javascript_frameworks_compat.js +0 -0
  222. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/basic.css +0 -0
  223. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/badge_only.css +0 -0
  224. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
  225. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  226. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
  227. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  228. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
  229. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/fontawesome-webfont.svg +0 -0
  230. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
  231. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
  232. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
  233. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/lato-bold-italic.woff +0 -0
  234. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
  235. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/lato-bold.woff +0 -0
  236. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/lato-bold.woff2 +0 -0
  237. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/lato-normal-italic.woff +0 -0
  238. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
  239. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/lato-normal.woff +0 -0
  240. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/fonts/lato-normal.woff2 +0 -0
  241. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/css/theme.css +0 -0
  242. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/custom.css +0 -0
  243. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/dark_mode_css/custom.css +0 -0
  244. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/dark_mode_css/dark.css +0 -0
  245. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/dark_mode_css/general.css +0 -0
  246. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/dark_mode_js/default_dark.js +0 -0
  247. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/dark_mode_js/default_light.js +0 -0
  248. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/dark_mode_js/theme_switcher.js +0 -0
  249. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/doctools.js +0 -0
  250. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/documentation_options.js +0 -0
  251. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/file.png +0 -0
  252. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/jquery-3.6.0.js +0 -0
  253. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/jquery.js +0 -0
  254. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/js/badge_only.js +0 -0
  255. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/js/html5shiv-printshiv.min.js +0 -0
  256. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/js/html5shiv.min.js +0 -0
  257. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/js/theme.js +0 -0
  258. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/language_data.js +0 -0
  259. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/minus.png +0 -0
  260. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/plus.png +0 -0
  261. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/pygments.css +0 -0
  262. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/searchtools.js +0 -0
  263. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/sphinx_highlight.js +0 -0
  264. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/underscore-1.13.1.js +0 -0
  265. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/_static/underscore.js +0 -0
  266. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/genindex.html +0 -0
  267. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/index.html +0 -0
  268. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/modules.html +0 -0
  269. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/objects.inv +0 -0
  270. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/py-modindex.html +0 -0
  271. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/search.html +0 -0
  272. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/searchindex.js +0 -0
  273. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/build/html/tutorials.html +0 -0
  274. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/make.bat +0 -0
  275. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/Documentation.rst +0 -0
  276. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/Installation.rst +0 -0
  277. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/Medfl.LearningManager.rst +0 -0
  278. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/Medfl.NetManager.rst +0 -0
  279. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/Medfl.rst +0 -0
  280. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/_static/custom.css +0 -0
  281. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/conf.py +0 -0
  282. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/FL_gen.png +0 -0
  283. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/FTL_comp.png +0 -0
  284. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/FlDatasetDiagramm.png +0 -0
  285. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/GDP.png +0 -0
  286. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/LDP.png +0 -0
  287. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/LearningManager.png +0 -0
  288. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/MEDfl_Diagramm.png +0 -0
  289. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/Modelinit.png +0 -0
  290. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/NetManager_Diagramm.png +0 -0
  291. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/NetworkCreation.png +0 -0
  292. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/createServer.png +0 -0
  293. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/learningresults.png +0 -0
  294. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/logos/mysqllogo.png +0 -0
  295. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/logos/phpmyadmin.png +0 -0
  296. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/logos/wampLogo.png +0 -0
  297. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/logos/xampplogo.png +0 -0
  298. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/modeltest.png +0 -0
  299. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/netMan.png +0 -0
  300. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/nodecreation.png +0 -0
  301. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/pipeline.png +0 -0
  302. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/Images/strategy.png +0 -0
  303. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/figures/MEDomics.png +0 -0
  304. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/index.rst +0 -0
  305. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/modules.rst +0 -0
  306. {Medfl-0.1.23 → MEDfl-0.1.25}/docs/source/tutorials.rst +0 -0
  307. {Medfl-0.1.23 → MEDfl-0.1.25}/global_params.yaml +0 -0
  308. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/.ipynb_checkpoints/trainedModels/binary_classifier.pth +0 -0
  309. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/.ipynb_checkpoints/trainedModels/eicu_binary_classifier.pth +0 -0
  310. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/.ipynb_checkpoints/trainedModels/grid_search_classifier.pth +0 -0
  311. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/.ipynb_checkpoints/trainedModels/new_binary_classifier.pth +0 -0
  312. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/.ipynb_checkpoints/trainedModels/updated_model.pth +0 -0
  313. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/First_Tuto.ipynb +0 -0
  314. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/FL_gen.png +0 -0
  315. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/FTL_comp.png +0 -0
  316. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/FlDatasetDiagramm.png +0 -0
  317. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/GDP.png +0 -0
  318. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/LDP.png +0 -0
  319. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/LearningManager.png +0 -0
  320. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/MEDfl_Diagramm.png +0 -0
  321. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/MEDfl_bachmarking_plan.png +0 -0
  322. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/Modelinit.png +0 -0
  323. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/NetManager_Diagramm.png +0 -0
  324. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/NetworkCreation.png +0 -0
  325. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/createServer.png +0 -0
  326. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/learningresults.png +0 -0
  327. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/logos/mysqllogo.png +0 -0
  328. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/logos/phpmyadmin.png +0 -0
  329. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/logos/wampLogo.png +0 -0
  330. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/logos/xampplogo.png +0 -0
  331. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/modeltest.png +0 -0
  332. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/netMan.png +0 -0
  333. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/nodecreation.png +0 -0
  334. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/optuna_optim_diag.png +0 -0
  335. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/pipeline.png +0 -0
  336. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/Images/strategy.png +0 -0
  337. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/banchmarking/banchmarking_plan.md +0 -0
  338. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/banchmarking/benchmarks_results.txt +0 -0
  339. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/banchmarking/network_architecture/net_bachmarking_conf_1.ipynb +0 -0
  340. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/banchmarking/network_architecture/net_bachmarking_conf_2.ipynb +0 -0
  341. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/banchmarking/transfer_learning/TL_activated.ipynb +0 -0
  342. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/banchmarking/transfer_learning/TL_dectivated.ipynb +0 -0
  343. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/chunk_1.csv +0 -0
  344. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/chunk_2.csv +0 -0
  345. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/chunk_3.csv +0 -0
  346. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/config_1/part_1.csv +0 -0
  347. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/config_1/part_2.csv +0 -0
  348. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/config_1/part_3.csv +0 -0
  349. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/config_1/test_1.csv +0 -0
  350. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/config_1/test_2.csv +0 -0
  351. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/eicu_sapsii_data.csv +0 -0
  352. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/eicu_sapsii_data_test.csv +0 -0
  353. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/eicu_sapsii_data_test_1.csv +0 -0
  354. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/masterDataSet/Mimic_ouael.csv +0 -0
  355. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/masterDataSet/Mimic_train.csv +0 -0
  356. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/masterDataSet/eICU.csv +0 -0
  357. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_1.csv +0 -0
  358. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_10.csv +0 -0
  359. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_2.csv +0 -0
  360. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_3.csv +0 -0
  361. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_4.csv +0 -0
  362. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_5.csv +0 -0
  363. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_6.csv +0 -0
  364. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_7.csv +0 -0
  365. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_8.csv +0 -0
  366. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/nodesData/output_9.csv +0 -0
  367. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/test_1.csv +0 -0
  368. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/test_2.csv +0 -0
  369. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/test_3.csv +0 -0
  370. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/data/validation/Mimic_validation.csv +0 -0
  371. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/eicu_test.csv +0 -0
  372. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/eicu_test_1.csv +0 -0
  373. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/eicu_test_2.csv +0 -0
  374. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/eicu_test_3.csv +0 -0
  375. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/sapsii_score_knnimputed_eicu.csv +0 -0
  376. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/1_DB.ipynb +0 -0
  377. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/2_NetManager.ipynb +0 -0
  378. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/3_TransferLearning copy.ipynb +0 -0
  379. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/3_TransferLearning.ipynb +0 -0
  380. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/4_LearningManager.ipynb +0 -0
  381. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/5_LearningResults.ipynb +0 -0
  382. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/6_ModelChoice.ipynb +0 -0
  383. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/7_ParamsOptimiser.ipynb +0 -0
  384. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/8_complete_tutorial.ipynb +0 -0
  385. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/newplot2.png +0 -0
  386. {Medfl-0.1.23 → MEDfl-0.1.25}/notebooks/tutorial/newplot4.png +0 -0
  387. {Medfl-0.1.23 → MEDfl-0.1.25}/requirements.txt +0 -0
  388. {Medfl-0.1.23 → MEDfl-0.1.25}/scripts/__init__.py +0 -0
  389. {Medfl-0.1.23 → MEDfl-0.1.25}/scripts/__pycache__/__init__.cpython-38.pyc +0 -0
  390. {Medfl-0.1.23 → MEDfl-0.1.25}/scripts/__pycache__/__init__.cpython-39.pyc +0 -0
  391. {Medfl-0.1.23 → MEDfl-0.1.25}/scripts/__pycache__/base.cpython-38.pyc +0 -0
  392. {Medfl-0.1.23 → MEDfl-0.1.25}/scripts/__pycache__/base.cpython-39.pyc +0 -0
  393. /Medfl-0.1.23/scripts/config.ini → /MEDfl-0.1.25/scripts/db_config.ini +0 -0
  394. {Medfl-0.1.23 → MEDfl-0.1.25}/scripts/setup_mysql.sh +0 -0
  395. {Medfl-0.1.23 → MEDfl-0.1.25}/setup.cfg +0 -0
  396. {Medfl-0.1.23 → MEDfl-0.1.25}/setup_mysql.sh +0 -0
  397. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/__init__.py +0 -0
  398. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/__pycache__/test_dataset.cpython-38.pyc +0 -0
  399. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/__pycache__/test_federated_dataset.cpython-38.pyc +0 -0
  400. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/__pycache__/test_flpipeline.cpython-38.pyc +0 -0
  401. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/__pycache__/test_flsetup.cpython-38.pyc +0 -0
  402. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/__pycache__/test_network.cpython-38.pyc +0 -0
  403. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/__pycache__/test_node.cpython-38.pyc +0 -0
  404. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/test_dataset.py +0 -0
  405. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/test_federated_dataset.py +0 -0
  406. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/test_flpipeline.py +0 -0
  407. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/test_flsetup.py +0 -0
  408. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/test_network.py +0 -0
  409. {Medfl-0.1.23 → MEDfl-0.1.25}/tests/test_node.py +0 -0
  410. {Medfl-0.1.23 → MEDfl-0.1.25}/workflows/migration.yml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
- Name: Medfl
3
- Version: 0.1.23
2
+ Name: MEDfl
3
+ Version: 0.1.25
4
4
  Summary: Python Open-source package for simulating federated learning and differential privacy
5
5
  Home-page: https://github.com/HaithemLamri/MEDfl
6
6
  Author: MEDomics consortium
@@ -57,7 +57,7 @@ cd MEDfl
57
57
  pip install -e .
58
58
  ```
59
59
  ### MySQL DB configuration
60
- MEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets, we have created a bash script to install and configure A MySQL DB with phpmyadmin monitoring system, run the following command then change your credential on the MEDfl/scripts/base.py and MEDfl/scripts/config.ini files
60
+ MEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets, we have created a bash script to install and configure A MySQL DB with phpmyadmin monitoring system, run the following command then change your credential on the MEDfl/scripts/base.py and MEDfl/scripts/db_config.ini files
61
61
  ```
62
62
  sudo bash MEDfl/scripts/setup_mysql.sh
63
63
  ```
@@ -395,8 +395,8 @@ notebooks/tutorial/newplot2.png
395
395
  notebooks/tutorial/newplot4.png
396
396
  scripts/__init__.py
397
397
  scripts/base.py
398
- scripts/config.ini
399
398
  scripts/create_db.py
399
+ scripts/db_config.ini
400
400
  scripts/setup_mysql.sh
401
401
  scripts/__pycache__/__init__.cpython-38.pyc
402
402
  scripts/__pycache__/__init__.cpython-39.pyc
@@ -115,10 +115,11 @@ class FlowerServer:
115
115
  f"cuda:{int(cid) % 4}" if torch.cuda.is_available() else "cpu"
116
116
  )
117
117
  client_model = copy.deepcopy(self.global_model)
118
-
118
+
119
119
  trainloader = self.fed_dataset.trainloaders[int(cid)]
120
120
  valloader = self.fed_dataset.valloaders[int(cid)]
121
121
  # this helps in making plots
122
+
122
123
  client = FlowerClient(
123
124
  cid, client_model, trainloader, valloader, self.diff_priv
124
125
  )
@@ -165,7 +166,8 @@ class FlowerServer:
165
166
  ray_init_args = {"include_dashboard": False
166
167
  , "object_store_memory": 78643200
167
168
  }
168
-
169
+ self.fed_dataset.eng = None
170
+
169
171
  history = fl.simulation.start_simulation(
170
172
  client_fn=self.client_fn,
171
173
  num_clients=self.num_clients,
@@ -40,7 +40,7 @@ with open(yaml_path) as g:
40
40
 
41
41
 
42
42
  # Default path for the config file
43
- DEFAULT_CONFIG_PATH = 'config.ini'
43
+ DEFAULT_CONFIG_PATH = 'db_config.ini'
44
44
 
45
45
 
46
46
  def load_db_config():
@@ -133,11 +133,8 @@ def get_nodeid_from_name(name):
133
133
  db_manager.connect()
134
134
  my_eng = db_manager.get_connection()
135
135
 
136
- NodeId = int(
137
- pd.read_sql(
138
- text(f"SELECT NodeId FROM Nodes WHERE NodeName = '{name}'"), my_eng
139
- ).iloc[0, 0]
140
- )
136
+ result_proxy = my_eng.execute(f"SELECT NodeId FROM Nodes WHERE NodeName = '{name}'")
137
+ NodeId = int(result_proxy.fetchone()[0])
141
138
  return NodeId
142
139
 
143
140
 
@@ -156,12 +153,8 @@ def get_netid_from_name(name):
156
153
  my_eng = db_manager.get_connection()
157
154
 
158
155
  try:
159
- NetId = int(
160
- pd.read_sql(
161
- text(f"SELECT NetId FROM Networks WHERE NetName = '{name}'"),
162
- my_eng,
163
- ).iloc[0, 0]
164
- )
156
+ result_proxy = my_eng.execute(f"SELECT NetId FROM Networks WHERE NetName = '{name}'")
157
+ NetId = int(result_proxy.fetchone()[0])
165
158
  except:
166
159
  NetId = None
167
160
  return NetId
@@ -182,12 +175,10 @@ def get_flsetupid_from_name(name):
182
175
  my_eng = db_manager.get_connection()
183
176
 
184
177
  try:
185
- id = int(
186
- pd.read_sql(
187
- text(f"SELECT FLsetupId FROM FLsetup WHERE name = '{name}'"),
188
- my_eng,
189
- ).iloc[0, 0]
190
- )
178
+
179
+ result_proxy = my_eng.execute(f"SELECT FLsetupId FROM FLsetup WHERE name = '{name}'")
180
+ id = int(result_proxy.fetchone()[0])
181
+
191
182
  except:
192
183
  id = None
193
184
  return id
@@ -208,12 +199,9 @@ def get_flpipeline_from_name(name):
208
199
  my_eng = db_manager.get_connection()
209
200
 
210
201
  try:
211
- id = int(
212
- pd.read_sql(
213
- text(f"SELECT id FROM FLpipeline WHERE name = '{name}'"),
214
- my_eng,
215
- ).iloc[0, 0]
216
- )
202
+
203
+ result_proxy = my_eng.execute(f"SELECT id FROM FLpipeline WHERE name = '{name}'")
204
+ id = int(result_proxy.fetchone()[0])
217
205
  except:
218
206
  id = None
219
207
  return id
@@ -234,12 +222,9 @@ def get_feddataset_id_from_name(name):
234
222
  my_eng = db_manager.get_connection()
235
223
 
236
224
  try:
237
- id = int(
238
- pd.read_sql(
239
- text(f"SELECT FedId FROM FedDatasets WHERE name = '{name}'"),
240
- my_eng,
241
- ).iloc[0, 0]
242
- )
225
+
226
+ result_proxy = my_eng.execute(f"SELECT FedId FROM FedDatasets WHERE name = '{name}'")
227
+ id = int(result_proxy.fetchone()[0])
243
228
  except:
244
229
  id = None
245
230
  return id
@@ -256,9 +241,8 @@ def master_table_exists():
256
241
  db_manager.connect()
257
242
  my_eng = db_manager.get_connection()
258
243
 
259
- return pd.read_sql(
260
- text(
261
- " SELECT EXISTS ( SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_NAME = 'MasterDataset' )"
262
- ),
263
- my_eng,
264
- ).values[0][0]
244
+
245
+ sql_query = text("SELECT EXISTS (SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_NAME = 'MasterDataset')")
246
+ result = my_eng.execute(sql_query)
247
+ exists = result.scalar()
248
+ return exists
@@ -12,6 +12,8 @@ from .node import Node
12
12
  import pandas as pd
13
13
  from Medfl.LearningManager.utils import params
14
14
 
15
+ from sqlalchemy import text
16
+
15
17
 
16
18
  class Network:
17
19
  """
@@ -104,9 +106,10 @@ class Network:
104
106
  DataFrame: A DataFrame containing information about all nodes in the network.
105
107
 
106
108
  """
107
- return pd.read_sql(
108
- text(LIST_ALL_NODES_QUERY.format(name=self.name)), self.eng
109
- )
109
+ query = text(LIST_ALL_NODES_QUERY.format(name=self.name))
110
+ result_proxy = self.eng.execute(query)
111
+ result_df = pd.DataFrame(result_proxy.fetchall(), columns=result_proxy.keys())
112
+ return result_df
110
113
 
111
114
  def create_master_dataset(self, path_to_csv: str = params['path_to_master_csv']):
112
115
  """
@@ -165,4 +168,7 @@ class Network:
165
168
  db_manager.connect() ;
166
169
  my_eng = db_manager.get_connection() ;
167
170
 
168
- return pd.read_sql(text("SELECT * FROM Networks"), my_eng)
171
+ result_proxy = my_eng.execute("SELECT * FROM Networks")
172
+ result = result_proxy.fetchall()
173
+ return result
174
+
@@ -74,10 +74,12 @@ class Node:
74
74
  print("MasterDataset doesn't exist")
75
75
  else:
76
76
  columns = data_df.columns.tolist()
77
+
77
78
  # get master_dataset columns
78
- master_table_columns = pd.read_sql(
79
- text(SELECT_MASTER_COLUMNS_QUERY), self.engine
80
- ).columns.tolist()
79
+ result_proxy = self.engine.execute(SELECT_MASTER_COLUMNS_QUERY)
80
+ master_table_columns = result_proxy.keys()
81
+
82
+
81
83
  assert [x == y for x, y in zip(master_table_columns, columns)]
82
84
 
83
85
  def update_node(self):
@@ -94,21 +96,13 @@ class Node:
94
96
  """
95
97
  NodeId = get_nodeid_from_name(self.name)
96
98
  if column_name is not None:
97
-
98
- node_dataset = pd.read_sql(
99
- text(
100
- SELECT_DATASET_BY_COLUMN_QUERY.format(
101
- column_name, self.name
102
- )
103
- ),
104
- self.engine,
105
- )
106
-
99
+ query = text(SELECT_DATASET_BY_COLUMN_QUERY.format(column_name, self.name))
107
100
  else:
108
- node_dataset = pd.read_sql(
109
- text(SELECT_DATASET_BY_NODE_ID_QUERY.format(NodeId)),
110
- self.engine,
111
- )
101
+ query = text(SELECT_DATASET_BY_NODE_ID_QUERY.format(NodeId))
102
+
103
+ result_proxy = self.engine.execute(query)
104
+ node_dataset = pd.DataFrame(result_proxy.fetchall(), columns=result_proxy.keys())
105
+
112
106
  return node_dataset
113
107
 
114
108
  def upload_dataset(self, dataset_name: str, path_to_csv: str = params['path_to_test_csv']):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
- Name: Medfl
3
- Version: 0.1.23
2
+ Name: MEDfl
3
+ Version: 0.1.25
4
4
  Summary: Python Open-source package for simulating federated learning and differential privacy
5
5
  Home-page: https://github.com/HaithemLamri/MEDfl
6
6
  Author: MEDomics consortium
@@ -57,7 +57,7 @@ cd MEDfl
57
57
  pip install -e .
58
58
  ```
59
59
  ### MySQL DB configuration
60
- MEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets, we have created a bash script to install and configure A MySQL DB with phpmyadmin monitoring system, run the following command then change your credential on the MEDfl/scripts/base.py and MEDfl/scripts/config.ini files
60
+ MEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets, we have created a bash script to install and configure A MySQL DB with phpmyadmin monitoring system, run the following command then change your credential on the MEDfl/scripts/base.py and MEDfl/scripts/db_config.ini files
61
61
  ```
62
62
  sudo bash MEDfl/scripts/setup_mysql.sh
63
63
  ```
@@ -38,7 +38,7 @@ cd MEDfl
38
38
  pip install -e .
39
39
  ```
40
40
  ### MySQL DB configuration
41
- MEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets, we have created a bash script to install and configure A MySQL DB with phpmyadmin monitoring system, run the following command then change your credential on the MEDfl/scripts/base.py and MEDfl/scripts/config.ini files
41
+ MEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets, we have created a bash script to install and configure A MySQL DB with phpmyadmin monitoring system, run the following command then change your credential on the MEDfl/scripts/base.py and MEDfl/scripts/db_config.ini files
42
42
  ```
43
43
  sudo bash MEDfl/scripts/setup_mysql.sh
44
44
  ```
@@ -12,7 +12,7 @@ In the file ``MEDfl/global_params.yaml``, you need to update the base URL parame
12
12
 
13
13
  MySQL Configuration
14
14
  -------------------
15
- In the file ``MEDfl/scripts/config.ini``, you can specify the SQL connection parameters.
15
+ In the file ``MEDfl/scripts/db_config.ini``, you can specify the SQL connection parameters.
16
16
 
17
17
  .. code-block:: bash
18
18
 
@@ -114,7 +114,7 @@
114
114
  </section>
115
115
  <section id="mysql-configuration">
116
116
  <h2>MySQL Configuration<a class="headerlink" href="#mysql-configuration" title="Permalink to this heading"></a></h2>
117
- <p>In the file <code class="docutils literal notranslate"><span class="pre">MEDfl/scripts/config.ini</span></code>, you can specify the SQL connection parameters.</p>
117
+ <p>In the file <code class="docutils literal notranslate"><span class="pre">MEDfl/scripts/db_config.ini</span></code>, you can specify the SQL connection parameters.</p>
118
118
  <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="o">[</span>mysql<span class="o">]</span>
119
119
  <span class="w"> </span><span class="nv">host</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>localhost
120
120
  <span class="w"> </span><span class="nv">port</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="m">3306</span>
@@ -12,7 +12,7 @@ In the file ``MEDfl/global_params.yaml``, you need to update the base URL parame
12
12
 
13
13
  MySQL Configuration
14
14
  -------------------
15
- In the file ``MEDfl/scripts/config.ini``, you can specify the SQL connection parameters.
15
+ In the file ``MEDfl/scripts/db_config.ini``, you can specify the SQL connection parameters.
16
16
 
17
17
  .. code-block:: bash
18
18
 
@@ -2,7 +2,7 @@
2
2
  "cells": [
3
3
  {
4
4
  "cell_type": "code",
5
- "execution_count": 1,
5
+ "execution_count": 2,
6
6
  "metadata": {},
7
7
  "outputs": [],
8
8
  "source": [
@@ -17,6 +17,23 @@
17
17
  "\n"
18
18
  ]
19
19
  },
20
+ {
21
+ "cell_type": "code",
22
+ "execution_count": 10,
23
+ "metadata": {},
24
+ "outputs": [
25
+ {
26
+ "name": "stdout",
27
+ "output_type": "stream",
28
+ "text": [
29
+ "Im here !\n"
30
+ ]
31
+ }
32
+ ],
33
+ "source": [
34
+ "!python \"../../scripts/create_db.py\" \"../../notebooks/data/masterDataSet/Mimic_ouael.csv\""
35
+ ]
36
+ },
20
37
  {
21
38
  "cell_type": "code",
22
39
  "execution_count": null,
@@ -49,7 +66,7 @@
49
66
  "from Medfl.LearningManager.utils import *\n",
50
67
  "from Medfl.NetManager.database_connector import DatabaseManager\n",
51
68
  "\n",
52
- "set_db_config('../../scripts/config.ini')\n",
69
+ "set_db_config('../../scripts/db_config.ini')\n",
53
70
  "\n",
54
71
  "db_manager = DatabaseManager()\n",
55
72
  "db_manager.connect()\n",
@@ -214,82 +231,82 @@
214
231
  " # * 1 . Differential Privacy\n",
215
232
  " # *******************************************\n",
216
233
  " \"diff_privacy\": [\n",
217
- " # {\n",
218
- " # # DP config\n",
219
- " # \"dp_activate\": False,\n",
220
- "\n",
221
- " # # The rest of the config\n",
222
- " # \"n_clients\": 10,\n",
223
- " # \"train_test\": True,\n",
224
- " # \"train_portion\": 0.5,\n",
225
- " # \"aggreg_algo\": \"FedAvg\",\n",
226
- " # \"Tl\": True,\n",
227
- " # },\n",
228
- " # {\n",
229
- " # # DP config\n",
230
- " # \"dp_activate\": True,\n",
231
- " # \"DELTA\": 1e-5,\n",
232
- " # \"EPSILON\": 5.0,\n",
233
- "\n",
234
- " # # The rest of the config\n",
235
- " # \"n_clients\": 10,\n",
236
- " # \"train_test\": True,\n",
237
- " # \"train_portion\": 0.5,\n",
238
- " # \"aggreg_algo\": \"FedAvg\",\n",
239
- " # \"Tl\": True,\n",
240
- " # },\n",
241
- " # {\n",
242
- " # # DP config\n",
243
- " # \"dp_activate\": True,\n",
244
- " # \"DELTA\": 1e-5,\n",
245
- " # \"EPSILON\": 10.0,\n",
246
- "\n",
247
- " # # The rest of the config\n",
248
- " # \"n_clients\": 10,\n",
249
- " # \"train_test\": True,\n",
250
- " # \"train_portion\": 0.5,\n",
251
- " # \"aggreg_algo\": \"FedAvg\",\n",
252
- " # \"Tl\": True,\n",
253
- " # },\n",
254
- " # {\n",
255
- " # # DP config\n",
256
- " # \"dp_activate\": True,\n",
257
- " # \"DELTA\": 1e-5,\n",
258
- " # \"EPSILON\": 0.5,\n",
259
- "\n",
260
- " # # The rest of the config\n",
261
- " # \"n_clients\": 10,\n",
262
- " # \"train_test\": True,\n",
263
- " # \"train_portion\": 0.5,\n",
264
- " # \"aggreg_algo\": \"FedAvg\",\n",
265
- " # \"Tl\": True,\n",
266
- " # },\n",
267
- " # {\n",
268
- " # # DP config\n",
269
- " # \"dp_activate\": True,\n",
270
- " # \"DELTA\": 0,\n",
271
- " # \"EPSILON\": 0.5,\n",
272
- "\n",
273
- " # # The rest of the config\n",
274
- " # \"n_clients\": 10,\n",
275
- " # \"train_test\": True,\n",
276
- " # \"train_portion\": 0.5,\n",
277
- " # \"aggreg_algo\": \"FedAvg\",\n",
278
- " # \"Tl\": True,\n",
279
- " # },\n",
280
- " # {\n",
281
- " # # DP config\n",
282
- " # \"dp_activate\": True,\n",
283
- " # \"DELTA\": 0,\n",
284
- " # \"EPSILON\": 5.0,\n",
285
- "\n",
286
- " # # The rest of the config\n",
287
- " # \"n_clients\": 10,\n",
288
- " # \"train_test\": True,\n",
289
- " # \"train_portion\": 0.5,\n",
290
- " # \"aggreg_algo\": \"FedAvg\",\n",
291
- " # \"Tl\": True,\n",
292
- " # }\n",
234
+ " {\n",
235
+ " # DP config\n",
236
+ " \"dp_activate\": False,\n",
237
+ "\n",
238
+ " # The rest of the config\n",
239
+ " \"n_clients\": 10,\n",
240
+ " \"train_test\": True,\n",
241
+ " \"train_portion\": 0.5,\n",
242
+ " \"aggreg_algo\": \"FedAvg\",\n",
243
+ " \"Tl\": True,\n",
244
+ " },\n",
245
+ " {\n",
246
+ " # DP config\n",
247
+ " \"dp_activate\": True,\n",
248
+ " \"DELTA\": 1e-5,\n",
249
+ " \"EPSILON\": 5.0,\n",
250
+ "\n",
251
+ " # The rest of the config\n",
252
+ " \"n_clients\": 10,\n",
253
+ " \"train_test\": True,\n",
254
+ " \"train_portion\": 0.5,\n",
255
+ " \"aggreg_algo\": \"FedAvg\",\n",
256
+ " \"Tl\": True,\n",
257
+ " },\n",
258
+ " {\n",
259
+ " # DP config\n",
260
+ " \"dp_activate\": True,\n",
261
+ " \"DELTA\": 1e-5,\n",
262
+ " \"EPSILON\": 10.0,\n",
263
+ "\n",
264
+ " # The rest of the config\n",
265
+ " \"n_clients\": 10,\n",
266
+ " \"train_test\": True,\n",
267
+ " \"train_portion\": 0.5,\n",
268
+ " \"aggreg_algo\": \"FedAvg\",\n",
269
+ " \"Tl\": True,\n",
270
+ " },\n",
271
+ " {\n",
272
+ " # DP config\n",
273
+ " \"dp_activate\": True,\n",
274
+ " \"DELTA\": 1e-5,\n",
275
+ " \"EPSILON\": 0.5,\n",
276
+ "\n",
277
+ " # The rest of the config\n",
278
+ " \"n_clients\": 10,\n",
279
+ " \"train_test\": True,\n",
280
+ " \"train_portion\": 0.5,\n",
281
+ " \"aggreg_algo\": \"FedAvg\",\n",
282
+ " \"Tl\": True,\n",
283
+ " },\n",
284
+ " {\n",
285
+ " # DP config\n",
286
+ " \"dp_activate\": True,\n",
287
+ " \"DELTA\": 0,\n",
288
+ " \"EPSILON\": 0.5,\n",
289
+ "\n",
290
+ " # The rest of the config\n",
291
+ " \"n_clients\": 10,\n",
292
+ " \"train_test\": True,\n",
293
+ " \"train_portion\": 0.5,\n",
294
+ " \"aggreg_algo\": \"FedAvg\",\n",
295
+ " \"Tl\": True,\n",
296
+ " },\n",
297
+ " {\n",
298
+ " # DP config\n",
299
+ " \"dp_activate\": True,\n",
300
+ " \"DELTA\": 0,\n",
301
+ " \"EPSILON\": 5.0,\n",
302
+ "\n",
303
+ " # The rest of the config\n",
304
+ " \"n_clients\": 10,\n",
305
+ " \"train_test\": True,\n",
306
+ " \"train_portion\": 0.5,\n",
307
+ " \"aggreg_algo\": \"FedAvg\",\n",
308
+ " \"Tl\": True,\n",
309
+ " }\n",
293
310
  " ],\n",
294
311
  " # * 2 . Nodes Config\n",
295
312
  " # *******************************************\n",
@@ -431,44 +448,6 @@
431
448
  "}"
432
449
  ]
433
450
  },
434
- {
435
- "cell_type": "code",
436
- "execution_count": 10,
437
- "metadata": {},
438
- "outputs": [],
439
- "source": [
440
- "benchmarks_config = {\n",
441
- " \n",
442
- " \"TL\": [\n",
443
- " {\n",
444
- " # Activate TL\n",
445
- " \"Tl\": True,\n",
446
- "\n",
447
- " # The rest of the config\n",
448
- " \"train_test\": True,\n",
449
- " \"train_portion\": 0.5,\n",
450
- " \"aggreg_algo\": \"FedAvg\",\n",
451
- " \"dp_activate\": False,\n",
452
- " \"n_clients\": 10,\n",
453
- " \n",
454
- " },\n",
455
- " # {\n",
456
- " # # Activate TL\n",
457
- " # \"Tl\": False,\n",
458
- "\n",
459
- " # # The rest of the config\n",
460
- " # \"train_test\": True,\n",
461
- " # \"train_portion\": 0.5,\n",
462
- " # \"aggreg_algo\": \"FedAvg\",\n",
463
- " # \"dp_activate\": False,\n",
464
- " # \"n_clients\": 10,\n",
465
- " \n",
466
- " # },\n",
467
- " \n",
468
- " ],\n",
469
- "}"
470
- ]
471
- },
472
451
  {
473
452
  "cell_type": "code",
474
453
  "execution_count": 11,
@@ -618,32 +597,9 @@
618
597
  },
619
598
  {
620
599
  "cell_type": "code",
621
- "execution_count": 17,
600
+ "execution_count": null,
622
601
  "metadata": {},
623
- "outputs": [
624
- {
625
- "name": "stdout",
626
- "output_type": "stream",
627
- "text": [
628
- "Executing the: TL configurations\n",
629
- "Executing th confuguration\n",
630
- "{'Tl': True, 'train_test': True, 'train_portion': 0.5, 'aggreg_algo': 'FedAvg', 'dp_activate': False, 'n_clients': 10}\n"
631
- ]
632
- },
633
- {
634
- "ename": "CalledProcessError",
635
- "evalue": "Command '['python', 'C:\\\\Users\\\\HP User\\\\AppData\\\\Roaming\\\\Python\\\\Python39\\\\site-packages\\\\Medfl\\\\NetManager\\\\..\\\\scripts\\\\create_db.py', '../data/masterDataSet/Mimic_ouael.csv']' returned non-zero exit status 2.",
636
- "output_type": "error",
637
- "traceback": [
638
- "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
639
- "\u001b[1;31mCalledProcessError\u001b[0m Traceback (most recent call last)",
640
- "Cell \u001b[1;32mIn[17], line 14\u001b[0m\n\u001b[0;32m 9\u001b[0m \u001b[39mbreak\u001b[39;00m\n\u001b[0;32m 10\u001b[0m \u001b[39m# Create the MEDfl pipeline for each config\u001b[39;00m\n\u001b[1;32m---> 14\u001b[0m db_manager\u001b[39m.\u001b[39;49mcreate_MEDfl_db(path_to_csv\u001b[39m=\u001b[39;49m\u001b[39m\"\u001b[39;49m\u001b[39m../data/masterDataSet/Mimic_ouael.csv\u001b[39;49m\u001b[39m\"\u001b[39;49m)\n\u001b[0;32m 16\u001b[0m \u001b[39m# if the differential privac is activated change the epsilon and delta on the params file \u001b[39;00m\n\u001b[0;32m 17\u001b[0m \u001b[39mif\u001b[39;00m(config[\u001b[39m\"\u001b[39m\u001b[39mdp_activate\u001b[39m\u001b[39m\"\u001b[39m]):\n",
641
- "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python39\\site-packages\\Medfl\\NetManager\\database_connector.py:40\u001b[0m, in \u001b[0;36mDatabaseManager.create_MEDfl_db\u001b[1;34m(self, path_to_csv)\u001b[0m\n\u001b[0;32m 37\u001b[0m create_db_script_path \u001b[39m=\u001b[39m os\u001b[39m.\u001b[39mpath\u001b[39m.\u001b[39mjoin(current_directory, \u001b[39m'\u001b[39m\u001b[39m..\u001b[39m\u001b[39m'\u001b[39m, \u001b[39m'\u001b[39m\u001b[39mscripts\u001b[39m\u001b[39m'\u001b[39m, \u001b[39m'\u001b[39m\u001b[39mcreate_db.py\u001b[39m\u001b[39m'\u001b[39m)\n\u001b[0;32m 39\u001b[0m \u001b[39m# Execute the create_db.py script\u001b[39;00m\n\u001b[1;32m---> 40\u001b[0m subprocess\u001b[39m.\u001b[39;49mrun([\u001b[39m'\u001b[39;49m\u001b[39mpython\u001b[39;49m\u001b[39m'\u001b[39;49m, create_db_script_path, path_to_csv], check\u001b[39m=\u001b[39;49m\u001b[39mTrue\u001b[39;49;00m)\n\u001b[0;32m 42\u001b[0m \u001b[39mreturn\u001b[39;00m\n",
642
- "File \u001b[1;32mc:\\Python39\\lib\\subprocess.py:528\u001b[0m, in \u001b[0;36mrun\u001b[1;34m(input, capture_output, timeout, check, *popenargs, **kwargs)\u001b[0m\n\u001b[0;32m 526\u001b[0m retcode \u001b[39m=\u001b[39m process\u001b[39m.\u001b[39mpoll()\n\u001b[0;32m 527\u001b[0m \u001b[39mif\u001b[39;00m check \u001b[39mand\u001b[39;00m retcode:\n\u001b[1;32m--> 528\u001b[0m \u001b[39mraise\u001b[39;00m CalledProcessError(retcode, process\u001b[39m.\u001b[39margs,\n\u001b[0;32m 529\u001b[0m output\u001b[39m=\u001b[39mstdout, stderr\u001b[39m=\u001b[39mstderr)\n\u001b[0;32m 530\u001b[0m \u001b[39mreturn\u001b[39;00m CompletedProcess(process\u001b[39m.\u001b[39margs, retcode, stdout, stderr)\n",
643
- "\u001b[1;31mCalledProcessError\u001b[0m: Command '['python', 'C:\\\\Users\\\\HP User\\\\AppData\\\\Roaming\\\\Python\\\\Python39\\\\site-packages\\\\Medfl\\\\NetManager\\\\..\\\\scripts\\\\create_db.py', '../data/masterDataSet/Mimic_ouael.csv']' returned non-zero exit status 2."
644
- ]
645
- }
646
- ],
602
+ "outputs": [],
647
603
  "source": [
648
604
  "\n",
649
605
  "# Loop Over the benchmark configs\n",
@@ -805,25 +761,6 @@
805
761
  " })\n"
806
762
  ]
807
763
  },
808
- {
809
- "cell_type": "code",
810
- "execution_count": 18,
811
- "metadata": {},
812
- "outputs": [
813
- {
814
- "ename": "AttributeError",
815
- "evalue": "'DatabaseManager' object has no attribute 'load_db_config'",
816
- "output_type": "error",
817
- "traceback": [
818
- "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
819
- "\u001b[1;31mAttributeError\u001b[0m Traceback (most recent call last)",
820
- "Cell \u001b[1;32mIn[18], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m db_manager\u001b[39m.\u001b[39;49mload_db_config()\n",
821
- "\u001b[1;31mAttributeError\u001b[0m: 'DatabaseManager' object has no attribute 'load_db_config'"
822
- ]
823
- }
824
- ],
825
- "source": []
826
- },
827
764
  {
828
765
  "cell_type": "code",
829
766
  "execution_count": null,
@@ -9,7 +9,7 @@ import os
9
9
  current_directory = os.path.dirname(os.path.abspath(__file__))
10
10
 
11
11
  # Load configuration from the config file
12
- config_file_path = os.path.join(current_directory, 'config.ini')
12
+ config_file_path = os.path.join(current_directory, 'db_config.ini')
13
13
 
14
14
  config = ConfigParser()
15
15
  config.read(config_file_path)
@@ -6,21 +6,22 @@ from mysql.connector import Error
6
6
  from configparser import ConfigParser
7
7
  import os
8
8
 
9
- from Medfl.LearningManager.utils import load_db_config
10
-
11
9
  def main(csv_file_path):
12
10
  try:
13
-
14
- mysql_config = load_db_config()
15
-
11
+ # Get the directory of the current script
12
+ current_directory = os.path.dirname(os.path.abspath(__file__))
16
13
 
17
- print('Step 1')
14
+ # Load configuration from the config file
15
+ config_file_path = os.path.join(current_directory, 'db_config.ini')
18
16
 
19
- mydb = mysql.connector.connect(host=mysql_config['host'], user=mysql_config['user'], password=mysql_config['password'])
20
- mycursor = mydb.cursor()
17
+ config = ConfigParser()
18
+ config.read(config_file_path)
19
+ mysql_config = config['mysql']
21
20
 
22
- print('Step 2')
21
+ print('Im here !')
23
22
 
23
+ mydb = mysql.connector.connect(host=mysql_config['host'], user=mysql_config['user'], password=mysql_config['password'])
24
+ mycursor = mydb.cursor()
24
25
 
25
26
  # Create the 'MEDfl' database if it doesn't exist
26
27
  mycursor.execute("CREATE DATABASE IF NOT EXISTS MEDfl")