Skip to content

Competiton Evaluation

polaris.evaluate.CompetitionPredictions

Bases: ResultsMetadata

Class specific to predictions for competition benchmarks.

This object is to be used as input to CompetitionSpecification.evaluate. It is used to ensure that the structure of the predictions are compatible with evaluation methods on the Polaris Hub.

Attributes:

Name Type Description
predictions Union[PredictionsType, CompetitionPredictionsType]

The predictions created for a given competition's test set(s).


polaris.evaluate.CompetitionResults

Bases: EvaluationResult

Class specific to results for competition benchmarks.

This object is returned by CompetitionSpecification.evaluate. In addition to the metrics on the test set, it contains additional meta-data and logic to integrate the results with the Polaris Hub.

Attributes:

Name Type Description
competition_name SlugCompatibleStringType

The name of the competition for which these results were generated. Together with the competition owner, this uniquely identifies the competition on the Hub.

competition_owner Optional[HubOwner]

The owner of the competition for which these results were generated. Together with the competition name, this uniquely identifies the competition on the Hub.