Log Experiment Results
Logging experiments to Arize when you already have all the data
Last updated
Was this helpful?
Logging experiments to Arize when you already have all the data
Last updated
Was this helpful?
If you already have all the data for an experiment, which you want to log to the Arize UI without creating a task or re-running it, you can use our log_experiment
function (SDK definition).
You map the columns of your LLM output and your evaluators to your dataset, and then you can log the results to track your experiments in the Arize UI.
We'll use a sample dataframe here of an LLM that solves math problems, with input and expected_output for these math equations below.
We will be logging an experiment with three columns:
example_id
is the dataset row ID, which is needed to map the results to the specific dataset row with inputs and expected outputs.
result
is the output of the LLM pipeline.
correctness
is the evaluation label of the experiment.
After running log_experiment
, you should see the image above in the experiments UI!