Skip to content

Commit 49f27f4

Browse files
committed
edits
1 parent a53fb7f commit 49f27f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/machine-learning/how-to-create-component-pipeline-python.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Import all the Azure Machine Learning libraries that you need for this article:
7171
7272
You need to prepare the input data for the image classification pipeline.
7373
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+
Fashion MNIST 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, 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/).
7575
7676
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.
7777
@@ -93,7 +93,7 @@ For each component, you need to complete these steps:
9393
9494
1. Add other metadata of the component, including the runtime environment and the command to run the component.
9595
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.
9797
9898
### Create the data preparation component
9999
@@ -120,7 +120,7 @@ The preceding code defines a component with display name `Prep Data` by using th
120120
:::code language="python" source="~/azureml-examples-v2samplesreorg/sdk/python/jobs/pipelines/2e_image_classification_keras_minist_convnet/prep/conda.yaml":::
121121
122122
* The `prepare_data_component` function defines 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.
124124
* The component converts the data from `input_data` into a `training_data` .csv to train data and a `test_data` .csv to test data.
125125
126126
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
233233
234234
- The `input_data` of `prepare_data_node` uses the value of `pipeline_input_data`.
235235
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`.
237237
238238
- 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`.
239239
@@ -294,7 +294,7 @@ You can check the logs and outputs of each component by right-clicking the compo
294294
295295
## (Optional) Register components to the workspace
296296
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:
298298
299299
[!notebook-python[] (~/azureml-examples-main/sdk/python/jobs/pipelines/2e_image_classification_keras_minist_convnet/image_classification_keras_minist_convnet.ipynb?name=register-component)]
300300

0 commit comments

Comments
 (0)