Skip to content

Commit c956890

Browse files
committed
update upload zipped bundle as a dataset in execute python/r script articles
1 parent 80fc38e commit c956890

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/machine-learning/algorithm-module-reference/execute-python-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The **Execute Python Script** module contains sample Python code that you can us
130130

131131
![Execute Python input map](media/module/python-module.png)
132132

133-
4. To include new Python packages or code, add the zipped file containing these custom resources on **Script bundle**. The input to **Script bundle** must be a zipped file uploaded to your workspace as a File type Dataset.
133+
4. To include new Python packages or code, add the zipped file containing these custom resources on **Script bundle**. The input to **Script bundle** must be a zipped file uploaded to your workspace as a File type Dataset. You can upload the dataset in the **Datasets** asset page, and you can drag and drop the dataset module from the **My datasets** list in the left module tree in designer authoring page.
134134

135135
Any file contained in the uploaded zipped archive can be used during pipeline execution. If the archive includes a directory structure, the structure is preserved, but you must prepend a directory called **src** to the path.
136136

articles/machine-learning/algorithm-module-reference/execute-r-script.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ There are many ways that you can extend your pipeline by using custom R script.
173173
174174
The **Execute R Script** module supports arbitrary R script files as inputs. To do so, they must be uploaded to your workspace as part of the ZIP file.
175175
176-
1. To upload a ZIP file containing R code to your workspace, click **New**, click **Dataset**, and then select **From local file** and the **Zip file** option.
176+
1. To upload a ZIP file containing R code to your workspace, go to the **Datasets** asset page, click **Create dataset**, and then select **From local file** and the **File** dataset type option.
177177
178-
1. Verify that the zipped file is available in the **Saved Datasets** list.
178+
1. Verify that the zipped file is available in the **My Datasets** list under **Datasets** category in the left module tree.
179179
180180
1. Connect the dataset to the **Script Bundle** input port.
181181

0 commit comments

Comments
 (0)