Skip to content

Commit

Permalink
fix tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: mgqa34 <mgq3374541@163.com>
  • Loading branch information
mgqa34 committed Mar 6, 2024
1 parent addc368 commit 8a9baac
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions doc/tutorial/pipeline_tutorial_hetero.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -61,7 +61,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -99,7 +99,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -124,7 +124,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -140,7 +140,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -158,7 +158,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -174,7 +174,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -198,14 +198,14 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
"evaluation_0 = Evaluation(\"evaluation_0\",\n",
" runtime_parties=dict(guest='9999'),\n",
" default_eval_setting=\"binary\",\n",
" input_data=lr_0.outputs[\"train_output_data\"])"
" input_datas=lr_0.outputs[\"train_output_data\"])"
]
},
{
Expand All @@ -216,8 +216,8 @@
"\n",
" - `psi_0` is responsible for finding overlapping match id\n",
" - `lr_0` trains Coordinated LR on data output by `psi_0`\n",
" - `lr_1` predicts with model from `sbt_0`\n",
" - `evaluation_0` consumes `sbt_0`'s prediciton result on training data\n",
" - `lr_1` predicts with model from `lr_0`\n",
" - `evaluation_0` consumes `lr_0`'s prediciton result on training data\n",
"\n",
"Then compile our pipeline to make it ready for submission."
]
Expand Down Expand Up @@ -687,7 +687,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.9.7"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 8a9baac

Please sign in to comment.