View source: R/tracking-runs.R
mlflow_start_run | R Documentation |
Starts a new run. If 'client' is not provided, this function infers contextual information such as source name and version, and also registers the created run as the active run. If 'client' is provided, no inference is done, and additional arguments such as 'start_time' can be provided.
mlflow_start_run(
run_id = NULL,
experiment_id = NULL,
start_time = NULL,
tags = NULL,
client = NULL,
nested = FALSE
)
run_id |
If specified, get the run with the specified UUID and log metrics and params under that run. The run's end time is unset and its status is set to running, but the run's other attributes remain unchanged. |
experiment_id |
Used only when 'run_id' is unspecified. ID of the experiment under which to create the current run. If unspecified, the run is created under a new experiment with a randomly generated name. |
start_time |
Unix timestamp of when the run started in milliseconds. Only used when 'client' is specified. |
tags |
Additional metadata for run in key-value pairs. Only used when 'client' is specified. |
client |
(Optional) An MLflow client object returned from mlflow_client. If specified, MLflow will use the tracking server associated with the passed-in client. If unspecified (the common case), MLflow will use the tracking server associated with the current tracking URI. |
nested |
Controls whether the run to be started is nested in a parent run. 'TRUE' creates a nest run. |
## Not run:
with(mlflow_start_run(), {
mlflow_log_metric("test", 10)
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.