create_model_version: Create a model version

View source: R/registry.R

create_model_versionR Documentation

Create a model version

Description

Create a model version

Usage

create_model_version(
  name,
  source = get_run()$artifact_uri,
  run_id = get_active_run_id(),
  tags = list(),
  run_link = "",
  description = "",
  client = mlflow_client()
)

Arguments

name

Register model under this name.

source

URI indicating the location of the model artifacts. Tries to default to the artifact URI of the active run. If no run is active, this will error.

run_id

MLflow run ID for correlation, if source was generated by an experiment run in MLflow Tracking.

tags

Additional metadata.

run_link

MLflow run link - This is the exact link of the run that generated this model version.

description

Description for model version.

client

An MLFlow client. Will be auto-generated if omitted.

Value

A list of metadata on the newly-created model version.


collegevine/lightMLFlow documentation built on Jan. 16, 2024, 5:52 a.m.