| { | |
| "schema_version": "2", | |
| "name": "Data Detective", | |
| "references": [ | |
| { | |
| "id": "ref_ds", | |
| "role": "reference", | |
| "label": "Dataset id", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Dataset id", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Dataset id", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "stanfordnlp/imdb" | |
| }, | |
| "x": 40, | |
| "y": 280, | |
| "width": 220, | |
| "height": 90 | |
| } | |
| ], | |
| "operators": [ | |
| { | |
| "id": "op_overview", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "overview", | |
| "label": "overview", | |
| "inputs": [ | |
| { | |
| "id": "in_ds", | |
| "label": "dataset", | |
| "type": "text", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "output", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 340, | |
| "y": 40, | |
| "width": 220, | |
| "height": 110 | |
| }, | |
| { | |
| "id": "op_preview", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "preview", | |
| "label": "preview", | |
| "inputs": [ | |
| { | |
| "id": "in_ds", | |
| "label": "dataset", | |
| "type": "text", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "output", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 340, | |
| "y": 200, | |
| "width": 220, | |
| "height": 110 | |
| }, | |
| { | |
| "id": "op_stats", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "column_stats", | |
| "label": "column_stats", | |
| "inputs": [ | |
| { | |
| "id": "in_ds", | |
| "label": "dataset", | |
| "type": "text", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "output", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 340, | |
| "y": 360, | |
| "width": 220, | |
| "height": 110 | |
| }, | |
| { | |
| "id": "op_dist", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "distribution", | |
| "label": "distribution", | |
| "inputs": [ | |
| { | |
| "id": "in_ds", | |
| "label": "dataset", | |
| "type": "text", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "output", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 340, | |
| "y": 520, | |
| "width": 220, | |
| "height": 110 | |
| } | |
| ], | |
| "subjects": [ | |
| { | |
| "id": "sub_overview", | |
| "role": "subject", | |
| "label": "Overview", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Overview", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Overview", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 640, | |
| "y": 40, | |
| "width": 280, | |
| "height": 220 | |
| }, | |
| { | |
| "id": "sub_preview", | |
| "role": "subject", | |
| "label": "Preview rows", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Preview rows", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Preview rows", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 640, | |
| "y": 200, | |
| "width": 280, | |
| "height": 220 | |
| }, | |
| { | |
| "id": "sub_stats", | |
| "role": "subject", | |
| "label": "Column stats", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Column stats", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Column stats", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 640, | |
| "y": 360, | |
| "width": 280, | |
| "height": 220 | |
| }, | |
| { | |
| "id": "sub_dist", | |
| "role": "subject", | |
| "label": "Distribution", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Distribution", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Distribution", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 640, | |
| "y": 520, | |
| "width": 280, | |
| "height": 220 | |
| } | |
| ], | |
| "edges": [ | |
| { | |
| "id": "e1", | |
| "from_node_id": "ref_ds", | |
| "from_port_id": "out", | |
| "to_node_id": "op_overview", | |
| "to_port_id": "in_ds", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e2", | |
| "from_node_id": "op_overview", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_overview", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e3", | |
| "from_node_id": "ref_ds", | |
| "from_port_id": "out", | |
| "to_node_id": "op_preview", | |
| "to_port_id": "in_ds", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e4", | |
| "from_node_id": "op_preview", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_preview", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e5", | |
| "from_node_id": "ref_ds", | |
| "from_port_id": "out", | |
| "to_node_id": "op_stats", | |
| "to_port_id": "in_ds", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e6", | |
| "from_node_id": "op_stats", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_stats", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e7", | |
| "from_node_id": "ref_ds", | |
| "from_port_id": "out", | |
| "to_node_id": "op_dist", | |
| "to_port_id": "in_ds", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e8", | |
| "from_node_id": "op_dist", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_dist", | |
| "to_port_id": "in", | |
| "type": "image" | |
| } | |
| ] | |
| } |