Skip to content

Commit 7dfa2d3

Browse files
committed
Fixed nbconvert command prompt instructions
1 parent 54fa1d0 commit 7dfa2d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/machine-learning/how-to-convert-ml-experimental-to-production.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ In this tutorial, you learn how to:
2424

2525
- Generate the [MLOpsPython template](https://github.com/microsoft/MLOpsPython/generate)
2626
and use the `experimentation/Diabetes Ridge Regression Training.ipynb` and `experimentation/Diabetes Ridge Regression Scoring.ipynb` notebooks.
27+
- Install nbconvert. Follow only the installation instructions under the Installing nbconvert section on the [Installation](https://nbconvert.readthedocs.io/en/latest/install.html) page.
2728

2829
## Remove all nonessential code
2930

@@ -235,7 +236,7 @@ Third, related functions need to be merged into Python files to better help code
235236
- The Diabetes Ridge Regression Scoring Notebook(`experimentation/Diabetes Ridge Regression Scoring.ipynb`)
236237

237238
### Create Python file for the Diabetes Ridge Regression Training Notebook
238-
Convert your notebook to an executable script by running the following statement in a command prompt, which has Jupyter and the Diabetes Ridge Regression Training notebook in its path:
239+
Convert your notebook to an executable script by running the following statement in a command prompt, which uses the nbconvert package and the path of `experimentation/Diabetes Ridge Regression Training.ipynb`:
239240

240241
```
241242
jupyter nbconvert -- to script "Diabetes Ridge Regression Training.ipynb" –output train
@@ -280,7 +281,7 @@ main()
280281
The `train.py` file found in the `diabetes_regression/training directory` in the MLOpsPython repository supports command-line arguments (namely `build_id`, `model_name`, and `alpha`). Support for command-line arguments can be added to your `train.py` file to support dynamic model names and `alpha` values, but it's not necessary for the code to execute successfully.
281282

282283
### Create Python file for the Diabetes Ridge Regression Scoring Notebook
283-
Covert your notebook to an executable script by running the following statement in a command prompt that has Jupyter and the Diabetes Ridge Regression Scoring notebook in its path:
284+
Covert your notebook to an executable script by running the following statement in a command prompt that which uses the nbconvert package and the path of `experimentation/Diabetes Ridge Regression Scoring.ipynb`:
284285

285286
```
286287
jupyter nbconvert -- to script "Diabetes Ridge Regression Scoring.ipynb" –output score

0 commit comments

Comments
 (0)