This repository contains code for decentralized row means written for the new COINSTAC simulator (v4.0.0
).
- local.py - computes the local row sums and number of columns from local data and sends results to remote site.
- remote.py - aggreagates the local row sums and number of columns sent by local sites and returns the global row means.
- compspec.json - computation specifications
- Python 3.6.6
- coinstac-simulator 4.0.0
- Update
npm
:
sudo npm i npm@latest -g
- Install
coinstac-simulator
:
sudo npm i -g [email protected]
- Clone this repository:
git clone https://github.com/rsilva8/decentralized-row-means
- Change directory:
cd decentralized-row-means
- Build the docker image (Docker must be running):
docker build -t decentralized-row-means .
- Run the code:
sudo coinstac-simulator