Skip to content

Commit

Permalink
Merge pull request #19 from IBM/example_krum
Browse files Browse the repository at this point in the history
Update krum readme with parameter details.
  • Loading branch information
Yi-Zoey authored Aug 28, 2020
2 parents 0c16e1d + 4811cbc commit 0950371
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/krum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

**Krum proposed in: [Machine Learning with Adversaries: Byzantine Tolerant Gradient Descent](https://papers.nips.cc/paper/6617-machine-learning-with-adversaries-byzantine-tolerant-gradient-descent.pdf)**

This example explains how to run the KRUM fusion algorithm on CNNs implemented with Keras training
This example explains how to run the Krum fusion algorithm to train CNNs implemented with Keras training
on [MNIST](http://yann.lecun.com/exdb/mnist/) data. Data in this example preprocessed by scaling down to range from `[0, 255]` to `[0, 1]`.
No other preprocessing is performed.

**Note that** the parameter `byzantine_threshold` is set to `1` by default. According to Krum's assumption, the number of parties in the FL system should be at least `2 * byzantine_threshold + 3`. Therefore, to run this example, please create at least `5` parties.

- Split data by running:

```
Expand Down

0 comments on commit 0950371

Please sign in to comment.