Skip to content

Commit 1941f75

Browse files
authored
Merge pull request #177454 from lgayhardt/patch-34
ML studio classic rename
2 parents 5479f44 + 4c9730b commit 1941f75

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/stream-analytics/stream-analytics-how-to-configure-azure-machine-learning-endpoints-in-stream-analytics.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use Azure Machine Learning Studio (classic) endpoints in Azure Stream Analytics
2+
title: Use Machine Learning Studio (classic) endpoints in Azure Stream Analytics
33
description: This article describes how to use Machine Language user defined functions in Azure Stream Analytics.
44
author: jseb225
55
ms.author: jeanb
@@ -8,18 +8,18 @@ ms.service: stream-analytics
88
ms.topic: how-to
99
ms.date: 06/11/2019
1010
---
11-
# Azure Machine Learning Studio (classic) integration in Stream Analytics
12-
Stream Analytics supports user-defined functions that call out to Azure Machine Learning Studio (classic) endpoints. REST API support for this feature is detailed in the [Stream Analytics REST API library](/rest/api/streamanalytics/). This article provides supplemental information needed for successful implementation of this capability in Stream Analytics. A tutorial has also been posted and is available [here](stream-analytics-machine-learning-integration-tutorial.md).
11+
# Machine Learning Studio (classic) integration in Stream Analytics
12+
Stream Analytics supports user-defined functions that call out to Machine Learning Studio (classic) endpoints. REST API support for this feature is detailed in the [Stream Analytics REST API library](/rest/api/streamanalytics/). This article provides supplemental information needed for successful implementation of this capability in Stream Analytics. A tutorial has also been posted and is available [here](stream-analytics-machine-learning-integration-tutorial.md).
1313

14-
## Overview: Azure Machine Learning Studio (classic) terminology
15-
Microsoft Azure Machine Learning Studio (classic) provides a collaborative, drag-and-drop tool you can use to build, test, and deploy predictive analytics solutions on your data. This tool is called *Azure Machine Learning Studio (classic)*. Studio (classic) is used to interact with the machine learning resources and easily build, test, and iterate on your design. These resources and their definitions are below.
14+
## Overview: Machine Learning Studio (classic) terminology
15+
Microsoft Machine Learning Studio (classic) provides a collaborative, drag-and-drop tool you can use to build, test, and deploy predictive analytics solutions on your data. This tool is called *Machine Learning Studio (classic)*. Studio (classic) is used to interact with the machine learning resources and easily build, test, and iterate on your design. These resources and their definitions are below.
1616

1717
* **Workspace**: The *workspace* is a container that holds all other machine learning resources together in a container for management and control.
1818
* **Experiment**: *Experiments* are created by data scientists to utilize datasets and train a machine learning model.
1919
* **Endpoint**: *Endpoints* are the Studio (classic) object used to take features as input, apply a specified machine learning model and return scored output.
2020
* **Scoring Webservice**: A *scoring webservice* is a collection of endpoints as mentioned above.
2121

22-
Each endpoint has apis for batch execution and synchronous execution. Stream Analytics uses synchronous execution. The specific service is named a [Request/Response Service](../machine-learning/classic/consume-web-services.md) in Azure Machine Learning Studio (classic).
22+
Each endpoint has apis for batch execution and synchronous execution. Stream Analytics uses synchronous execution. The specific service is named a [Request/Response Service](../machine-learning/classic/consume-web-services.md) in Machine Learning Studio (classic).
2323

2424
## Studio (classic) resources needed for Stream Analytics jobs
2525
For the purposes of Stream Analytics job processing, a Request/Response endpoint, an [apikey](../machine-learning/classic/consume-web-services.md), and a swagger definition are all necessary for successful execution. Stream Analytics has an additional endpoint that constructs the url for swagger endpoint, looks up the interface and returns a default UDF definition to the user.
@@ -35,7 +35,7 @@ By using REST APIs you may configure your job to call Studio (classic) functions
3535
6. Start the job
3636

3737
## Creating a UDF with basic properties
38-
As an example, the following sample code creates a scalar UDF named *newudf* that binds to an Azure Machine Learning Studio (classic) endpoint. Note that the *endpoint* (service URI) can be found on the API help page for the chosen service and the *apiKey* can be found on the Services main page.
38+
As an example, the following sample code creates a scalar UDF named *newudf* that binds to an Machine Learning Studio (classic) endpoint. Note that the *endpoint* (service URI) can be found on the API help page for the chosen service and the *apiKey* can be found on the Services main page.
3939

4040
```
4141
PUT : /subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.StreamAnalytics/streamingjobs/<streamingjobName>/functions/<udfName>?api-version=<apiVersion>
@@ -62,7 +62,7 @@ Example request body:
6262
```
6363

6464
## Call RetrieveDefaultDefinition endpoint for default UDF
65-
Once the skeleton UDF is created the complete definition of the UDF is needed. The RetrieveDefaultDefinition endpoint helps you get the default definition for a scalar function that is bound to an Azure Machine Learning Studio (classic) endpoint. The payload below requires you to get the default UDF definition for a scalar function that is bound to a Studio (classic) endpoint. It doesn't specify the actual endpoint as it has already been provided during PUT request. Stream Analytics calls the endpoint provided in the request if it is provided explicitly. Otherwise it uses the one originally referenced. Here the UDF takes a single string parameter (a sentence) and returns a single output of type string which indicates the "sentiment" label for that sentence.
65+
Once the skeleton UDF is created the complete definition of the UDF is needed. The RetrieveDefaultDefinition endpoint helps you get the default definition for a scalar function that is bound to an Machine Learning Studio (classic) endpoint. The payload below requires you to get the default UDF definition for a scalar function that is bound to a Studio (classic) endpoint. It doesn't specify the actual endpoint as it has already been provided during PUT request. Stream Analytics calls the endpoint provided in the request if it is provided explicitly. Otherwise it uses the one originally referenced. Here the UDF takes a single string parameter (a sentence) and returns a single output of type string which indicates the "sentiment" label for that sentence.
6666

6767
```
6868
POST : /subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.StreamAnalytics/streamingjobs/<streamingjobName>/functions/<udfName>/RetrieveDefaultDefinition?api-version=<apiVersion>

0 commit comments

Comments
 (0)