You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-create-component-pipeline-python.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ Import all the Azure Machine Learning libraries that you need for this article:
71
71
72
72
You need to prepare the input data for the image classification pipeline.
73
73
74
-
Fashion-MNIST is a dataset of fashion images divided into 10 classes. Each image is a 28 x 28 grayscale image. There are 60,000 training images and 10,000 test images. As an image classification problem, Fashion-MNIST is more challenging than the classic MNIST handwritten digit database. It's distributed in the same compressed binary form as the original [handwritten digit database](http://yann.lecun.com/exdb/mnist/).
74
+
FashionMNIST is a dataset of fashion images that's divided into 10 classes. Each image is a 28 x 28 grayscale image. There are 60,000 training images and 10,000 test images. As an image classification problem, FashionMNIST is more challenging than the classic MNIST handwritten digit database. It's distributed in the same compressed binary form as the original [handwritten digit database](http://yann.lecun.com/exdb/mnist/).
75
75
76
76
By defining an `Input`, you create a reference to the data source location. The data remains in its existing location, so no extra storage cost is incurred.
77
77
@@ -93,7 +93,7 @@ For each component, you need to complete these steps:
93
93
94
94
1. Add other metadata of the component, including the runtime environment and the command to run the component.
95
95
96
-
The next section shows how to create the components in two ways. For the first two components, you use a Python function. For the third component you use YAML definition.
96
+
The next section shows how to create the components in two ways. For the first two components, you use a Python function. For the third component, you use YAML definition.
97
97
98
98
### Create the data preparation component
99
99
@@ -120,7 +120,7 @@ The preceding code defines a component with display name `Prep Data` by using th
* The `prepare_data_component`functiondefines one input for`input_data` and two outputs for`training_data` and `test_data`.
123
-
`input_data` is input data path. `training_data` and `test_data` are output data paths for training data and test data.
123
+
`input_data` is the input data path. `training_data` and `test_data` are output data paths for training data and test data.
124
124
* The component converts the data from `input_data` into a `training_data` .csv to train data and a `test_data` .csv to test data.
125
125
126
126
This is what a component looks like in the studio UI:
@@ -233,7 +233,7 @@ The pipeline contains three nodes: `prepare_data_node`, `train_node`, and `score
233
233
234
234
- The `input_data` of `prepare_data_node` uses the value of `pipeline_input_data`.
235
235
236
-
- The `input_data` of `train_node` is the `training_data` output of the `prepare_data_node`.
236
+
- The `input_data` of `train_node` is the `training_data` output of `prepare_data_node`.
237
237
238
238
- The `input_data` of `score_node` is the `test_data` output of `prepare_data_node`, and the `input_model` is the `output_model` of `train_node`.
239
239
@@ -294,7 +294,7 @@ You can check the logs and outputs of each component by right-clicking the compo
294
294
295
295
## (Optional) Register components to the workspace
296
296
297
-
In the previous section, you built a pipeline by using three components to complete an image classification task. You can also register components to your workspace so that they can be shared and reused within the workspace. The following example shows how to register the date preparation component.
297
+
In the previous section, you built a pipeline by using three components to complete an image classification task. You can also register components to your workspace so that they can be shared and reused within the workspace. The following example shows how to register the data preparation component:
0 commit comments