{
	"doc_type": "pipeline",
	"version": "3.0",
	"id": "e456f213-f83a-4d38-b15b-8bf541e100fb",
	"app_data": {
	  "ui_data": {
		"name": "Modeling Pipeline Flow Example",
		"description": "An example ML pipeline - provides load/filter/model-build with an already-built model",
		"class_name": "pipeline-flow-overall"
	  },
	  "wml_data": {
		"typeId": "stream"
	  }
	},
	"primary_pipeline": "modeling-pipeline",
	"pipelines": [
	  {
		"id": "modeling-pipeline",
		"nodes": [
		  {
			"id": "entryID1PE",
			"type": "binding",
			"app_data": {
			  "ui_data": {
				"label": "entryID1PE",
				"x_pos": 10,
				"y_pos": 10
			  }
			},
			"outputs": [
			  {
				"id": "entryPort1PE",
				"schema_ref": "schema1",
				"app_data": {
				  "ui_data": {
					"label": "Output Port"
				  }
				}
			  }
			]
		  },
		  {
			"id": "filter_nodeID2PE",
			"type": "execution_node",
			"op": "org.apache.spark.ml.ibm.transformers.Filter",
			"app_data": {
			  "wml_data": {
				"typeId": "filter-records"
			  },
			  "ui_data": {
				"label": "Filter",
				"image": "",
				"x_pos": 66,
				"y_pos": 144,
				"description": "Filter record data"
			  }
			},
			"inputs": [
			  {
				"id": "input1NodeID2PE",
				"schema_ref": "schema2",
				"app_data": {
				  "ui_data": {
					"cardinality": {
					  "min": 1,
					  "max": 1
					},
					"class_name": "port-class",
					"label": "Input Port"
				  }
				}
			  }
			],
			"outputs": [
			  {
				"id": "output1NodeID2PE",
				"schema_ref": "schema1",
				"app_data": {
				  "ui_data": {
					"class_name": "port-class",
					"label": "Output port"
				  }
				}
			  }
			],
			"parameters": {
			  "conditionExpr": "integer2 > 20"
			}
		  },
		  {
			"id": "modeling_nodeID3PE",
			"type": "execution_node",
			"op": "org.apache.spark.ml.regression.LinearRegression",
			"app_data": {
			  "wml_data": {
				"typeId": "linearregression",
				"associations": [
				  {
					"ui_ref": "link_model_nodeID4PE",
					"node_ref": "model_nodeID4PE",
					"type": "trains_model"
				  }
				]
			  },
			  "ui_data": {
				"label": "Linear Regression",
				"image": "",
				"x_pos": 405,
				"y_pos": 187,
				"description": "Fit a Linear Regression Model",
				"associations": [
				  {
					"id": "link_model_nodeID4PE",
					"node_ref": "model_nodeID4PE"
				  }
				]
			  }
			},
			"inputs": [
			  {
				"id": "input1modeling_nodeID3PE",
				"schema_ref": "schema1",
				"app_data": {
				  "ui_data": {
					"class_name": "portClass",
					"label": "input1modeling_nodeID3PE"
				  }
				},
				"links": [
				  {
					"id": "4ec32b28-6997-4a2d-9906-1921b925fea5",
					"node_id_ref": "filter_nodeID2PE"
				  }
				]
			  }
			],
			"outputs": [
			  {
				"id": "output1modeling_nodeID3PE",
				"schema_ref": "schema1",
				"app_data": {
				  "ui_data": {
					"class_name": "portClass",
					"label": "output1modeling_nodeID3PE"
				  }
				}
			  }
			],
			"parameters": {
			  "targetField": [
				"integer2"
			  ],
			  "inputFieldList": [
				"double4",
				"string1"
			  ],
			  "weightCol": [],
			  "elasticNetParam": 0,
			  "fitIntercept": false,
			  "maxIter": 90,
			  "regParam": 0.1,
			  "solver": "auto",
			  "standardization": true,
			  "tol": 0.000001
			}
		  },
		  {
			"id": "model_nodeID4PE",
			"type": "model_node",
			"model_ref": "https://reference.to.model.blob.in.storage",
			"app_data": {
			  "wml_data": {
				"typeId": "linearregressionmodel"
			  },
			  "ui_data": {
				"label": "Linear Regression Model",
				"image": "",
				"x_pos": 273,
				"y_pos": 35,
				"description": "Fitted Linear Regression Model"
			  }
			},
			"inputs": [
			  {
				"id": "input1NodeID4PE",
				"schema_ref": "schema1",
				"app_data": {
				  "ui_data": {
					"label": "input1NodeID4PE"
				  }
				},
				"links": [
				  {
					"id": "de6724a4-c630-4f35-92dc-c8532eea5a06",
					"node_id_ref": "entryID1PE"
				  }
				]
			  }
			],
			"outputs": [
			  {
				"id": "output1NodeID4PE",
				"schema_ref": "schema2",
				"app_data": {
				  "ui_data": {
					"class_name": "port-class",
					"label": "Output port"
				  }
				}
			  }
			]
		  }
		],
		"app_data": {
		  "ui_data": {
			"zoom": {
			  "x": 0,
			  "y": 0,
			  "k": 1
			},
			"comments": []
		  }
		},
		"runtime_ref": "scala-spark-2.0.1"
	  }
	],
	"schemas": [
	  {
		"id": "schema1",
		"fields": [
		  {
			"name": "integer2",
			"type": "integer",
			"nullable": false,
			"metadata": {
			  "description": "Field integer2 is an integer field",
			  "measure": "range",
			  "modeling_role": "input",
			  "range": {
				"min": -1,
				"max": 400
			  }
			}
		  },
		  {
			"name": "double4",
			"type": "double",
			"nullable": false,
			"metadata": {
			  "description": "Field double4 is a double field",
			  "measure": "range",
			  "modeling_role": "input",
			  "range": {
				"min": 0.101,
				"max": 100.211
			  }
			}
		  },
		  {
			"name": "string1",
			"type": "string",
			"nullable": true,
			"metadata": {
			  "description": "Field string1 is a string field",
			  "measure": "set",
			  "modeling_role": "input",
			  "max_length": 24,
			  "values": [
				"One",
				"Two",
				"Three"
			  ]
			}
		  }
		]
	  },
	  {
		"id": "schema2",
		"fields": [
		  {
			"name": "integer2",
			"type": "integer",
			"nullable": false,
			"metadata": {
			  "description": "Field integer2 is an integer field",
			  "measure": "range",
			  "modeling_role": "input",
			  "range": {
				"min": -1,
				"max": 400
			  }
			}
		  },
		  {
			"name": "double4",
			"type": "double",
			"nullable": false,
			"metadata": {
			  "description": "Field double4 is a double field",
			  "measure": "range",
			  "modeling_role": "input",
			  "range": {
				"min": 0.101,
				"max": 100.211
			  }
			}
		  },
		  {
			"name": "string1",
			"type": "string",
			"nullable": true,
			"metadata": {
			  "description": "Field string1 is a string field",
			  "measure": "set",
			  "modeling_role": "input",
			  "max_length": 24,
			  "values": [
				"One",
				"Two",
				"Three"
			  ]
			}
		  },
		  {
			"name": "$integer2_predicted",
			"type": "integer",
			"nullable": false,
			"metadata": {
			  "description": "Predicted field for 'integer2'",
			  "measure": "range",
			  "modeling_role": "input",
			  "range": {
				"min": -1,
				"max": 400
			  }
			}
		  }
		]
	  }
	],
	"runtimes": [
	  {
		"id": "scala-spark-2.0.1",
		"name": "Scala-Spark",
		"version": "2.0.1"
	  }
	],
	"json_schema": "https://api.dataplatform.ibm.com/schemas/common-pipeline/pipeline-flow/pipeline-flow-v3-schema.json"
  }
