Starts a new run within an experiment, should be used within a with
block.
mlflow_start_run(run_uuid = NULL, experiment_id = NULL,
source_name = NULL, source_version = NULL, entry_point_name = NULL,
source_type = "LOCAL")
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.
Used only when ``run_uuid`` 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.
Name of the source file or URI of the project to be associated with the run. Defaults to the current file if none provided.
Optional Git commit hash to associate with the run.
Optional name of the entry point for to the current run.
Integer enum value describing the type of the run ("local", "project", etc.).
The fluent API family of functions operate with an implied MLflow client determined by the service set by `mlflow_set_tracking_uri()`. For operations involving a run it adopts the current active run, or, if one does not exist, starts one through the implied service.
Other Fluent API functions: mlflow_create_experiment
,
mlflow_end_run
,
mlflow_log_artifact
,
mlflow_log_metric
,
mlflow_log_param
,
mlflow_set_experiment
,
mlflow_set_tag
# NOT RUN {
with(mlflow_start_run(), {
mlflow_log("test", 10)
})
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab