Watson OpenScale Lab
  • Introduction
  • Lab Environment Setup
    • IBM Cloud Services and Keys
    • Project Setup
  • Deploy Model & Configure Watson OpenScale
  • Monitor Model
    • Quality and Explainability
    • Fairness and Drift
  • [Optional] Load Historical Data
  • [Optional] Payload Analytics
  • [Optional] Application Monitor
  • Wrap-up
Powered by GitBook
On this page
  • Explore payload analytics
  • Build a payload chart
  • Explore Payload Analytics Programmatically
  • 1.1 Open Notebook
  • 1.2 Update Credentials
  • 1.3 Run Notebook

[Optional] Payload Analytics

OpenScale can help users understand model usage and behavior through payload analytics

Previous[Optional] Load Historical DataNext[Optional] Application Monitor

Last updated 5 years ago

Explore payload analytics

OpenScale gather the input received by the model it is monitoring as well as the predictions made by the model. This payload data contains all the feature values for the actual scoring requests, as well prediction values and associated probabilities. The payload data allows users to explore model behavior over time. Which can be done programmatically or through the web interface.

Build a payload chart

  • Open the .

  • When the dashboard loads, Click on the 'Model Monitors' tab and you will see the one deployment you configured in the previous section.

  • Under the Analytics title, Click on the 'Predictions by Confidence' option to display the confidence distribution of the models predictions.

  • This view can be used to determine if there are low confidence predictions that may need to be investigated.

You may have to change the Date range to see data in the graph.

  • Click on the 'Chart Builder' option on the left panel and use the following values to build a chart:

    • For Y-Axis (Measurement), select: Feature Percentage

    • For Y-Axis Feature, select: CheckingStatus

    • For X-Axis (Dimension), select: Confidence

  • From this example, we can see that confidence of the model is lower when the feature CheckingStatus is 'no_checking'. This may serve as an indicator to further inspect and validate payload records with this same status.

Explore Payload Analytics Programmatically

1.1 Open Notebook

  • Under the 'Notebooks' section, Click on the 'payload-analytics' notebook and then click on the pencil icon to enable you to edit / run the notebook.

1.2 Update Credentials

After the notebook environment starts up, scroll down to the section titled 'Configure Service Credentials'. Copy and Paste the Cloud API Key that you saved to a text editor earlier.

1.3 Run Notebook

  • Go back to the first cell in the notebook and run the notebook. You can run the cells individually by clicking on each cell and then click the Run button at the top of the notebook.

While the cell is running, an asterisk ([*]) will show up to the left of the cell. When that cell has finished executing a sequential number will show up. Generally, you want to wait until the cell finished executing before running the subsequent cells.

Alternatively, you can elect to run all the cells by clicking the 'Run All' option

  • Explore the charts / visualizations in the notebook.

In , select the project that you previously imported and click on the 'Assets' tab on the top of the project page.

Watson Studio
Watson OpenScale dashboard