Skip to content

Commit

Permalink
edit example(#4659)
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Wu <yolandawu131@gmail.com>
  • Loading branch information
nemirorox committed Jul 19, 2023
1 parent 743c7f0 commit ce3fec2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/pipeline/test_lr_sid.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
pipeline = FateFlowPipeline().set_roles(guest="9999", host="9998", arbiter="9998")

intersect_0 = Intersection("intersect_0", method="raw")
intersect_0.guest.component_setting(input_data=DataWarehouseChannel(name="breast_hetero_guest_multi",
intersect_0.guest.component_setting(input_data=DataWarehouseChannel(name="breast_hetero_guest",
namespace="experiment_sid"))
intersect_0.hosts[0].component_setting(input_data=DataWarehouseChannel(name="breast_hetero_host",
namespace="experiment_sid"))
Expand All @@ -41,7 +41,7 @@
evaluation_0 = Evaluation("evaluation_0",
label_column_name="y",
runtime_roles=["guest"],
default_eval_setting="multi",
default_eval_setting="binary",
input_data=lr_0.outputs["train_output_data"])

# pipeline.add_task(feature_scale_0)
Expand All @@ -65,7 +65,7 @@
predict_pipeline = FateFlowPipeline()

deployed_pipeline = pipeline.get_deployed_pipeline()
deployed_pipeline.intersect_0.guest.component_setting(input_data=DataWarehouseChannel(name="breast_hetero_guest_multi",
deployed_pipeline.intersect_0.guest.component_setting(input_data=DataWarehouseChannel(name="breast_hetero_guest",
namespace="experiment_sid"))
deployed_pipeline.intersect_0.hosts[0].component_setting(input_data=DataWarehouseChannel(name="breast_hetero_host",
namespace="experiment_sid"))
Expand Down

0 comments on commit ce3fec2

Please sign in to comment.