Contents

EvaluationResult

The results of running a model evaluation.

Declaration

struct EvaluationResult

Mentioned in

Overview

A structure that contains the summary and detailed results from an evaluation run.

Use the column descriptors from your Evaluation to access typed columns from the detailed DataFrame:

let result = try await evaluation.run(on: samples)
let inputs = result.detailed[evaluation.inputColumn]
let responses = result.detailed[evaluation.responseColumn]
let expected = result.detailed[evaluation.expectedColumn]

Topics

Accessing results

Inspecting timing

Formatting results

Saving and loading results

Instance Properties

See Also

Results