Skip to content

nexuml.evaluation.registry

nexuml.evaluation.registry

Explicit evaluation-algorithm materialization.

create_algorithm

create_algorithm(spec: EvalAlgorithmSpec) -> EvalAlgorithm

Materialize and validate an evaluation algorithm definition.

Returns:

Type Description
EvalAlgorithm

Runtime evaluation algorithm.

Raises:

Type Description
TypeError

If the definition builds the wrong runtime type.