You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2021/08/23 09:51:08 UTC
[systemds] branch master updated: [SYSTEMDS-3097] Fix
simple-aggregation-example
This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/master by this push:
new 4de703b [SYSTEMDS-3097] Fix simple-aggregation-example
4de703b is described below
commit 4de703bf4e35060a5fd877f43b9dea99173d870e
Author: Martin Volk <ma...@gmx.net>
AuthorDate: Tue Aug 17 15:44:19 2021 +0200
[SYSTEMDS-3097] Fix simple-aggregation-example
Fix python docs example for federated initialization.
Closes #1366
---
src/main/python/docs/source/guide/federated.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/python/docs/source/guide/federated.rst b/src/main/python/docs/source/guide/federated.rst
index 628ac54..237214f 100644
--- a/src/main/python/docs/source/guide/federated.rst
+++ b/src/main/python/docs/source/guide/federated.rst
@@ -82,7 +82,7 @@ The aggregated sum using federated instructions in python SystemDS is done as fo
address = "localhost:8001/temp/test.csv"
with SystemDSContext() as sds:
- fed_a = sds.federated(sds, [address], [dims])
+ fed_a = sds.federated([address], [dims])
# Sum the federated matrix and call compute to execute
print(fed_a.sum().compute())
# Result should be 45.