Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make learning rate independent of dataset size #69

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

wilko77
Copy link
Collaborator

@wilko77 wilko77 commented Sep 11, 2018

We scale the computed gradient by dataset size in order to make the learning rate parameter eta independent of the dataset size.
Now you can change the number of parties and the MSE will stay essentially the same. Previously, you would have to adjust eta every time you change the number of parties.

Also, there was a bug which counted the gradient of the first party twice.

…e parameter eta independent of the dataset size.
@wilko77 wilko77 merged commit fe24881 into master Sep 11, 2018
@wilko77 wilko77 deleted the learning_rate_fix_for_federated_learning branch September 11, 2018 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants