log_batch: Log Batch

Description Usage Arguments

View source: R/runs.R

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

1
2
3
4
5
6
7
log_batch(
  metrics = NULL,
  params = NULL,
  tags = NULL,
  run_id = NULL,
  client = NULL
)

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.


mrkaye97/lightMLFlow documentation built on Dec. 28, 2021, 12:15 a.m.