Step 5: Create a scoring flow in Minitab Connect

Follow these steps to create a new flow in Minitab Connect®.

With a flow, when you add a new record to the table, Connect sends the data to Model Ops. Model Ops generates predictions and sends them back to Connect. Connect stores the new values in the table. Follow these steps to create a new flow for prediction data from your model to Connect.

  1. From the Flow Tool of your Connect data table, under New Flow, select New Flow Item.
  2. Enter a name for the flow. From the Type dropdown menu, select Model Scoring (Minitab Model Ops). Under View, select the data view you created in a previous step.
  3. Under API Key, enter the API key for the Minitab Model Ops deployment.
  4. Specify the fields in the Connect data table for each variable in the deployment.
    1. Under ID Variable, pair the identifier from Minitab Model Ops to a field in the Connect table.
    2. Under Prediction Timestamp, pair the timestamp from Minitab Model Ops to a field in the Connect table.
    3. Under Model Variables, pair the predictors and identifier from Minitab Model Ops® to fields in the Connect table.
    4. Under Model Responses, pair the predicted response from Minitab Model Ops to a field in the Connect table. If you have a categorical response, also specify the fields for the predicted probability for each class in the response variable.
    Note

    If you do not specify a field for a variable, Connect does not store the data for that variable when you send new data to Minitab Model Ops.

  5. Select OK.
  6. To run the flow at a scheduled time, open the Manual box, under New Flow.
    1. From the Type, select Scheduled.
    2. Select the Frequency and enter the related details.
    3. Specify the start and end dates for the flow.
  7. Select OK.
  8. Save the flow.
You can also rename the flow from New Flow to a more descriptive name. Select the title text and enter your new name.

The Heart Deployment flow includes a scheduled scoring flow.