Class EvaluationResult (1.129.0)

EvaluationResult()

Result of an evaluation run for an evaluation dataset.

Methods

EvaluationResult

EvaluationResult()

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

show

show(candidate_names: typing.Optional[typing.List[str]] = None) -> None

Shows the evaluation result.

Parameter
Name Description
candidate_names typing.Optional[typing.List[str]]

list of names for the evaluated candidates, used in