Scorer operations
MLFlowClient.registerscorer — Function
registerscorer(instance::MLFlow, experiment_id::String, name::String, serialized_scorer::String)Register a scorer for an experiment.
Arguments
instance:MLFlowconfiguration.experiment_id: The experiment ID.name: The scorer name.serialized_scorer: The serialized scorer string (JSON).
Returns
A dictionary containing:
version: The new version number for the scorer.scorer_id: The unique identifier for the scorer.experiment_id: The experiment ID.name: The scorer name.serialized_scorer: The serialized scorer string.creation_time: The creation time in milliseconds since epoch.
MLFlowClient.listscorers — Function
listscorers(instance::MLFlow, experiment_id::String)List all scorers for an experiment.
Arguments
instance:MLFlowconfiguration.experiment_id: The experiment ID.
Returns
Vector of Scorer entities (latest version for each scorer name).
MLFlowClient.listscorerversions — Function
listscorerversions(instance::MLFlow, experiment_id::String, name::String)List all versions of a specific scorer for an experiment.
Arguments
instance:MLFlowconfiguration.experiment_id: The experiment ID.name: The scorer name.
Returns
Vector of Scorer entities for all versions of the scorer.
MLFlowClient.getscorer — Function
getscorer(instance::MLFlow, experiment_id::String, name::String; version::Union{Int32, Missing}=missing)Get a specific scorer for an experiment.
Arguments
instance:MLFlowconfiguration.experiment_id: The experiment ID.name: The scorer name.version: The scorer version. If not specified, returns the scorer with maximum version.
Returns
The Scorer entity.
MLFlowClient.deletescorer — Function
deletescorer(instance::MLFlow, experiment_id::String, name::String; version::Union{Int32, Missing}=missing)Delete a scorer for an experiment.
Arguments
instance:MLFlowconfiguration.experiment_id: The experiment ID.name: The scorer name.version: The scorer version to delete. If not specified, deletes all versions.
Returns
true if successful. Otherwise, raises exception.