diff --git a/doc/tutorial/pipeline_tutorial_hetero.ipynb b/doc/tutorial/pipeline_tutorial_hetero.ipynb index 8d3cf4661e..5c1d5cce40 100644 --- a/doc/tutorial/pipeline_tutorial_hetero.ipynb +++ b/doc/tutorial/pipeline_tutorial_hetero.ipynb @@ -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", @@ -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')" ] }, { @@ -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\")" ] @@ -158,7 +158,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -174,7 +174,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ @@ -198,7 +198,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 8, "metadata": {}, "outputs": [], "source": [ @@ -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();" ] }, {