Skip to content

Added new topologies of diverse neighbourhoods and related scripts for experiments on MNIST and CIFAR

Maina Patricia Orchampt-Mareschal requested to merge diverse_neighbourhoods into master
  1. Modification of the random_graph.py so that its skew distribution can be printed using final-distribution.py
  2. Addition of 5 .py files :
  • random-swap.py : create the same topology as random_graph.py and improve it with the swapping technique
  • bipartite-neighbourhood.py : create a neighbourhood based on the status active/passive attributed to nodes
  • bipartite-neighbourhood-swap.py : create the same topology as bipartite-neighbourhood.py and improve it with the swapping technique
  • SRP.py : create a neighbourhood using the SRP matching algorithm
  • SRP-swap.py : create the same topology as SRP.py and improve it with the swapping technique
  1. Addition of the scripts for the experiments on the 6 previous .py files :
  • tests/skew-mnist-random.sh
  • tests/skew-mnist-random-swap.sh
  • tests/skew-mnist-bipartite-neighbourhood.sh
  • tests/skew-mnist-bipartite-neighbourhood-swap.sh
  • tests/skew-mnist-SRP.sh
  • tests/skew-mnist-SRP-swap.sh
  1. Additions of the scripts for the ML simultations on the dataset MNIST for each of the three topologies using swaps :
  • tests/dc-random-swap-mnist-2-shards-uneq-classes.sh
  • tests/dc-bipartite-neighbourhood-swap-mnist-2-shards-uneq-classes.sh
  • tests/dc-SRP-swap-mnist-2-shards-uneq-classes.sh
  1. Additions of the scripts for the ML simultations on the dataset CIFAR for each of the three topologies using swaps :
  • tests/dc-random-swap-cifar10-2-shards-eq-classes.sh
  • tests/dc-bipartite-neighbourhood-swap-cifar10-2-shards-eq-classes.sh
  • tests/dc-SRP-swap-cifar10-2-shards-eq-classes.sh
Edited by Maina Patricia Orchampt-Mareschal

Merge request reports