job.yaml
1name: PiFlow random forest prediction
2steps:
3- id: read_train
4 operator: item_source@1.0
5 inputs: {}
6 params:
7 uri: context:/piflow/training.jsonl
8 view: records
9- id: read
10 operator: item_source@1.0
11 inputs: {}
12 params:
13 uri: context:/piflow/example.jsonl
14 view: records
15- id: train
16 operator: piflow_random_forest_training@1.0
17 inputs:
18 source: read_train
19 params:
20 numTrees: 8
21 maxDepth: 3
22- id: process
23 operator: piflow_random_forest_prediction@1.1
24 inputs:
25 source: read
26 model: train
27 params: {}
28- id: receive
29 operator: client_sink@1.0
30 inputs:
31 result: process