Update Explore_Consume_Python_Web_Services.ipynb
Clarify connection.
This commit is contained in:
Родитель
b01db74e92
Коммит
c1fec2a794
|
@ -20,7 +20,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"## Prerequisite\n",
|
"## Prerequisite\n",
|
||||||
"\n",
|
"\n",
|
||||||
"In this example, we assume you have already completed [the Quickstart](https://docs.microsoft.com/machine-learning-server/operationalize/python/quickstart-deploy-python-web-service) and there is a web service called 'TxService v1.0' hosted in your instance of Machine Learning Server. \n"
|
"In this example, we assume you have already completed [the Publish Quickstart](https://docs.microsoft.com/machine-learning-server/operationalize/python/quickstart-deploy-python-web-service) and there is a web service called 'TxService v1.0' hosted in your instance of Machine Learning Server. \n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
"\n",
|
"\n",
|
||||||
"1. Import the DeployClient and MLServer classes from the [azureml-model-management-sdk package](https://docs.microsoft.com/en-us/r-server/python-reference/azureml-model-management-sdk/azureml-model-management-sdk) to connect to Machine Learning Server (`use=MLServer`).\n",
|
"1. Import the DeployClient and MLServer classes from the [azureml-model-management-sdk package](https://docs.microsoft.com/en-us/r-server/python-reference/azureml-model-management-sdk/azureml-model-management-sdk) to connect to Machine Learning Server (`use=MLServer`).\n",
|
||||||
"\n",
|
"\n",
|
||||||
"1. Provide the connection details for your host and context into the corresponding fields. Learn more in the article [Connecting to Machine Learning Server in Python](https://docs.microsoft.com/en-us/r-server/operationalize/python/how-to-authenticate-in-python)."
|
"1. Provide **the connection details for your host and context** into the corresponding fields. Learn more in the article [Connecting to Machine Learning Server in Python](https://docs.microsoft.com/en-us/r-server/operationalize/python/how-to-authenticate-in-python)."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
"# -- Define the location of Machine Learning Server --\n",
|
"# -- Define the location of Machine Learning Server --\n",
|
||||||
"# -- for local onebox: http://localhost:12800\n",
|
"# -- for local onebox: http://localhost:12800\n",
|
||||||
"HOST = 'http://localhost:12800'\n",
|
"HOST = 'http://localhost:12800'\n",
|
||||||
"context = ('admin', '{{YOUR_PASSWORD}}')\n",
|
"context = ('admin', 'YOUR_ADMIN_PASSWORD')\n",
|
||||||
"client = DeployClient(HOST, use=MLServer, auth=context)"
|
"client = DeployClient(HOST, use=MLServer, auth=context)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче