Learn R Programming

mlflow (version 0.7.0)

mlflow_client_log_metric: Log Metric

Description

API to log a metric for a run. Metrics key-value pair that record a single float measure. During a single execution of a run, a particular metric can be logged several times. Backend will keep track of historical values along with timestamps.

Usage

mlflow_client_log_metric(client, run_id, key, value, timestamp = NULL)

Arguments

client

An `mlflow_client` object.

run_id

Run ID.

key

Name of the metric.

value

Float value for the metric being logged.

timestamp

Unix timestamp in milliseconds at the time metric was logged.

Details

The Tracking Client family of functions require an MLflow client to be specified explicitly. These functions allow for greater control of where the operations take place in terms of services and runs, but are more verbose compared to the Fluent API.

See Also

Other Tracking client functions: mlflow_client_create_experiment, mlflow_client_create_run, mlflow_client_delete_experiment, mlflow_client_delete_run, mlflow_client_download_artifacts, mlflow_client_get_experiment_by_name, mlflow_client_get_experiment, mlflow_client_get_run, mlflow_client_list_artifacts, mlflow_client_list_experiments, mlflow_client_log_artifact, mlflow_client_log_param, mlflow_client_restore_experiment, mlflow_client_restore_run, mlflow_client_set_tag, mlflow_client_set_terminated