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

Add new tutorial sections to index #1475

Merged
merged 2 commits into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/source/differential-privacy-wrappers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Performing the :math:`(\epsilon, \delta)` analysis
Assume you have trained for :math:`n` rounds with sampling fraction :math:`q` and noise multiplier :math:`z`. In order to calculate the :math:`\epsilon` value this would result in for a particular :math:`\delta`, the following script may be used.

.. code-block:: python

import tensorflow_privacy as tfp
max_order = 32
orders = range(2, max_order + 1)
Expand Down
2 changes: 2 additions & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ A learning-oriented series of federated learning tutorials, the best place to st

tutorial/Flower-1-Intro-to-FL-PyTorch
tutorial/Flower-2-Strategies-in-FL-PyTorch
tutorial/Flower-3-Building-a-Strategy-PyTorch
tutorial/Flower-4-Client-and-NumPyClient-PyTorch

.. toctree::
:maxdepth: 1
Expand Down
2 changes: 1 addition & 1 deletion doc/source/tutorial/Flower-1-Intro-to-FL-PyTorch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@
"\n",
"There's a dedicated `#questions` channel if you need help, but we'd also love to hear who you are in `#introductions`!\n",
"\n",
"[Part two](https://flower.dev/docs/tutorial/Flower-2-Strategies-in-FL-PyTorch.html) of the Flower tutorial goes into more depth about strategies and all the advanced things you can build with them."
"The [Flower Federated Learning Tutorial - Part 2](https://flower.dev/docs/tutorial/Flower-2-Strategies-in-FL-PyTorch.html) goes into more depth about strategies and all the advanced things you can build with them."
]
}
],
Expand Down
13 changes: 13 additions & 0 deletions doc/source/tutorial/Flower-2-Strategies-in-FL-PyTorch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,19 @@
"\n",
"In the later sections, we've seen how we can communicate arbitrary values between server and clients to fully customize client-side execution. With that capability, we built a large-scale Federated Learning simulation using the Flower Virtual Client Engine and ran an experiment involving 1000 clients in the same workload - all in a Jupyter Notebook!"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Next steps\n",
"\n",
"Before you continue, make sure to join the Flower community on Slack: [Join Slack](https://flower.dev/join-slack/)\n",
"\n",
"There's a dedicated `#questions` channel if you need help, but we'd also love to hear who you are in `#introductions`!\n",
"\n",
"The [Flower Federated Learning Tutorial - Part 3 [WIP]](https://flower.dev/docs/tutorial/Flower-3-Building-a-Strategy-PyTorch.html) shows how to build a fully custom `Strategy` from scratch."
]
}
],
"metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,11 @@
"source": [
"## Next steps\n",
"\n",
"[WIP - add description]"
"Before you continue, make sure to join the Flower community on Slack: [Join Slack](https://flower.dev/join-slack/)\n",
"\n",
"There's a dedicated `#questions` channel if you need help, but we'd also love to hear who you are in `#introductions`!\n",
"\n",
"The [Flower Federated Learning Tutorial - Part 4](https://flower.dev/docs/tutorial/Flower-4-Client-and-NumPyClient-PyTorch.html) introduces `Client`, the flexible API underlying `NumPyClient`."
]
}
],
Expand Down