log_batch: Log Batch

View source: R/runs.R

log_batchR Documentation

Log Batch

Description

Log a batch of metrics, params, and/or tags for a run. The server will respond with an error (non-200 status code) if any data failed to be persisted. In case of error (due to internal server error or an invalid request), partial data may be written.

Usage

log_batch(
  metrics = data.frame(),
  params = data.frame(),
  tags = data.frame(),
  run_id = get_active_run_id(),
  client = mlflow_client()
)

Arguments

metrics

A dataframe of metrics to log, containing the following columns: "key", "value", "step", "timestamp". This dataframe cannot contain any missing ('NA') entries.

params

A dataframe of params to log, containing the following columns: "key", "value". This dataframe cannot contain any missing ('NA') entries.

tags

A dataframe of tags to log, containing the following columns: "key", "value". This dataframe cannot contain any missing ('NA') entries.

run_id

A run uuid. Automatically inferred if a run is currently active.

client

An MLFlow client. Defaults to NULL and will be auto-generated.

Value

No return value. Called for side effects.


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