Registered model operations

MLFlowClient.createregisteredmodelFunction
createregisteredmodel(instance::MLFlow, name::String;
    tags::MLFlowUpsertData{Tag}=Tag[], description::Union{String, Missing}=missing)

Create a RegisteredModel with a name. Returns the newly created RegisteredModel. Validates that another RegisteredModel with the same name does not already exist and fails if another RegisteredModel with the same name already exists.

Arguments

  • instance: MLFlow configuration.
  • name: Register models under this name.
  • tags: A collection of Tag.
  • description: Optional description for RegisteredModel.

Returns

An instance of type RegisteredModel.

source
MLFlowClient.searchregisteredmodelsFunction
searchregisteredmodels(instance::MLFlow, filter::String, max_results::Int64,
    order_by::String, page_token::String)

Arguments

  • instance: MLFlow configuration.
  • filter: String filter condition. See MLFlow documentation.
  • max_results: Maximum number of models desired.
  • order_by: List of columns for ordering search results, which can include model name and last updated timestamp with an optional “DESC” or “ASC” annotation, where “ASC” is the default. Tiebreaks are done by model name ASC.
  • page_token: Pagination token to go to the next page based on a previous search query.

Returns

  • Vector of RegisteredModel that were found in the MLFlow instance.
  • The next page token if there are more results.
source
MLFlowClient.setregisteredmodeltagFunction
setregisteredmodeltag(instance::MLFlow, name::String, key::String, value::String)

Arguments

  • instance: MLFlow configuration.
  • name: Unique name of the model.
  • key: Name of the Tag.
  • value: String value of the Tag being logged.

Returns

true if successful. Otherwise, raises exception.

source