Skip to content

Commit

Permalink
Merge pull request #5467 from FederatedAI/feature-2.0.0-rc-sshe-glm
Browse files Browse the repository at this point in the history
Feature 2.0.0 rc sshe glm
  • Loading branch information
dylan-fan authored Jan 22, 2024
2 parents 36b1d6b + f72f6f6 commit f412237
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions doc/tutorial/pipeline_tutorial_hetero.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"Usage: pipeline [OPTIONS] COMMAND [ARGS]...\n",
"\n",
"Options:\n",
" --help Show this message and exit.\n",
" -h, --help Show this message and exit.\n",
"\n",
"Commands:\n",
" init pipeline init\n",
Expand Down Expand Up @@ -128,7 +128,7 @@
"metadata": {},
"outputs": [],
"source": [
"pipeline = FateFlowPipeline().set_parties(guest='9999', host='10000')"
"pipeline = FateFlowPipeline().set_parties(guest='9999', host='10000', arbiter='10000')"
]
},
{
Expand All @@ -140,11 +140,11 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"reader_0 = Reader(\"reader_0\")\n",
"reader_0 = Reader(\"reader_0\", runtime_parties=dict(guest='9999', host='10000'))\n",
"reader_0.guest.task_parameters(namespace=\"experiment\", name=\"breast_hetero_guest\")\n",
"reader_0.hosts[0].task_parameters(namespace=\"experiment\", name=\"breast_hetero_host\")"
]
Expand All @@ -158,7 +158,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -174,7 +174,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -198,7 +198,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -224,12 +224,12 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
"pipeline.add_tasks([reader_0, psi_0, lr_0, lr_1, evaluation_0])\n",
"pipeline.compile()"
"pipeline.compile();"
]
},
{
Expand Down

0 comments on commit f412237

Please sign in to comment.