Skip to main content
Use the initialized Arize client to call arize.log() with a predicted label, predicted actual, their feature inputs, their shap values, and a corresponding prediction id. Once records are sent to Arize’s platform, you’ll be able to visualize and analyze data holistically or within aggregated slices. arize.log() returns a Response. You can await on the Response to complete to ensure successful delivery of records. When logging a prediction for the first time for a new model, we classify the model in the Arize platform based on the data type of the prediction. For more information on model schema discovery, visit here:

What Is A Model Schema

API

API Arguments

Sample Code (Categorical)

Sample Code - Score Categorical

Sample Code - Sending in Numeric Sequences for Ranking Models

The following code snippet highlights the use of the ScoredCategorical constructor for including a numeric sequence in the actualScoreLabel
Questions? Email us at support@arize.com or Slack us in the #arize-support channel