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-convert-ml-experimental-to-production.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ In this tutorial, you learn how to:
24
24
25
25
- Generate the [MLOpsPython template](https://github.com/microsoft/MLOpsPython/generate)
26
26
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.
27
28
28
29
## Remove all nonessential code
29
30
@@ -235,7 +236,7 @@ Third, related functions need to be merged into Python files to better help code
235
236
- The Diabetes Ridge Regression Scoring Notebook(`experimentation/Diabetes Ridge Regression Scoring.ipynb`)
236
237
237
238
### 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`:
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.
281
282
282
283
### 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`:
0 commit comments