Create an Eval Table by passing the DataFrame to wandb.EvalTable. Use the input_columns, output_columns, and score_columns arguments to identify the role of each column.The following example uses:
image_id as the input
predicted_label as the output
correct and confidence as scores
with wandb.init(project="classifier-eval-table-demo") as run: eval_table = wandb.EvalTable( dataframe=df, input_columns=["image_id"], output_columns=["predicted_label"], score_columns=["correct", "confidence"], ) run.log({"validation_predictions_eval": eval_table})