An ID specific to a model that indicates a unique prediction event
Prediction ID is an ID that should indicate a unique prediction event. It is used as a join key between
Transaction ID acts as Prediction ID to join the prediction "not fraud" with the actual "fraud"
# Declare the schema of the dataframe you're sending (feature columns, predictions, timestamp, actuals)
schema = Schema(
# Log the dataframe with the schema mapping
response = arize_client.log(
1. What happens if we upload the same data with the same prediction ID twice? Does Arize treat that as one prediction/observation or as two?
They are treated as separate observations. This would mean that 2 predictions sent with the same prediction ID would count as 2 predictions. If there was an actual sent for both 2 predictions, it would show up as 2 separate predictions with both having a corresponding matching actual.