Skip to content

Commit

Permalink
Fix errors in quickstart (#586)
Browse files Browse the repository at this point in the history
* Fix errors in quickstart

* Update quickstart.rst
  • Loading branch information
ahellander authored Apr 22, 2024
1 parent 13657cd commit 98d688b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,14 @@ You are now ready to start training the model using the APIClient:
.. code:: python
>>> ...
>>> client.start_session(session_id="test-session", rounds=3)
>>> client.start_session(id="test-session", rounds=3)
# Wait for training to complete, when controller is idle:
>>> client.get_controller_status()
# Show model trail:
>>> client.get_model_trail()
# Show model performance:
>>> client.get_validations()
>>> models = client.get_model_trail()
# Show performance of latest global model:
>>> model_id = models[-1]['model']
>>> validations = client.get_validations(model_id=model_id)
Please see :py:mod:`fedn.network.api` for more details on the APIClient.
Expand Down

0 comments on commit 98d688b

Please sign in to comment.