Skip to content

Commit e10a341

Browse files
Remind sample code
1 parent 425db21 commit e10a341

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/machine-learning/algorithm-module-reference/create-python-model.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ After you create the model, you can use [Train Model](train-model.md) to train t
2626
## Configure the module
2727

2828
Use of this module requires intermediate or expert knowledge of Python. The module supports use of any learner that's included in the Python packages already installed in Azure Machine Learning. See the preinstalled Python package list in [Execute Python Script](execute-python-script.md).
29-
3029

3130
> [!NOTE]
3231
> Please be very careful when writing your script and makes sure there is no syntax error, such as using a un-declared object or a un-imported module. Also pay extra attentions to the pre-installed modules list in [Execute Python Script](execute-python-script.md). If you need to import modules which are not listed, please installing the corresponding packages such as
@@ -41,6 +40,9 @@ This article shows how to use **Create Python Model** with a simple pipeline. He
4140
4241
1. Select **Create Python Model**, and edit the script to implement your modeling or data management process. You can base the model on any learner that's included in a Python package in the Azure Machine Learning environment.
4342
43+
> [!NOTE]
44+
> Please pay extra attention to the comments of the sample code of the script and make sure your script strictly follows the requirement, such as the class name, methods as well as method signature. Violation will lead to exceptions.
45+
4446
The following sample code of the two-class Naive Bayes classifier uses the popular *sklearn* package:
4547
4648
```Python

0 commit comments

Comments
 (0)