Configure a Score Model for One or More Activities

To configure a Microsoft Azure Machine Learning score model for one or more activities in a process, do the procedure in this topic.

Screen



Good to Know

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library open the Machine Learning Machine Learning icon tab.
      2. On the Machine Learning Machine Learning icon tab, drag the Azure Machine Learning Azure Machine Learning icon activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click Machine Learning Configuration Machine Learning Configuration icon.

Procedure

  1. On the Machine Learning Configuration screen, click Add Score Model Add Score Model icon.
  2. In the Azure Machine Learning field, select your Microsoft Azure Machine Learning access token.

    To create a new access token, click Access Token for Microsoft Azure Machine Learning.

  3. In the Activity list, select an activity in your process.
  4. In the On Event list, select the activity event to use with Microsoft Azure Machine Learning.
  5. To connect the request data from your schema to the source system, complete this field as necessary:
    Field Name Definition

    Request Mapping

    Function:
    Connects the Microsoft Azure Machine Learning API request parameter to your schema. This is mandatory only if the request passes data from the process schema to parameters in the Azure Machine Learning API.
    To Open this Field:
    1. On the Machine Learning Configuration screen, click the Request tab.
    Accepted Values:
    Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper.

    Use this screen to connect the request to the data model for your process.

    Default Value:
    None
  6. To connect response data from the web service call to your process, do one of these.
    • To connect the response to your process schema, complete this field as necessary:
      Field Name Definition

      Map Response to AgilePoint Schema

      Function:
      Specifies the connection from the Microsoft Azure Machine Learning API response parameter to your schema.
      To Open this Field:
      1. On the Machine Learning Configuration screen, click the Response tab.
      Accepted Values:
      Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper.

      Use this screen to connect the response to the data model for your process.

      Default Value:
      None
    • To connect the response to a process data variable, complete this field as necessary:
      Field Name Definition

      Store the Response in Custom Attribute

      Function:
      Specifies the process data variable that stores the responses from the Microsoft Azure Machine Learning API method call.
      To Open this Field:
      1. On the Machine Learning Configuration screen, click the Response tab.
      Accepted Values:
      A process data variable that accepts an alphanumeric string in JSON format.
      Default Value:
      None
      Accepts Process Data Variables:
      Yes
      Example:
      [{"Results":{"output1":{"type":"table","value":{"ColumnNames":["Age","State","CardType","Scored Labels","Scored Probabilities"],"ColumnTypes":["Int32","String","String","String","Double"],"Values":[["21","CA","visa","High","0.0183113589882851"]]}}}}]