neptune_log: Logs the provided number or a collection of numbers.

View source: R/neptune_log.R

neptune_logR Documentation

Logs the provided number or a collection of numbers.

Description

Logs the provided number or a collection of numbers. Available for following field types (https://docs.neptune.ai/api-reference/field-types): * 'FloatSeries' * 'StringSeries' * 'FileSeries'

Usage

neptune_log(x, value, step=NULL, timestamp=NULL, wait=FALSE, ...)

Arguments

x

Field, for which we want to log value

value

Value or collection of values to be added to the field.

step

(numeric or integer) - Index of the log entry being appended. Must be strictly increasing.

timestamp

(numeric or integer) - Time index of the log entry being appended in form of Unix time. If NULL current time will be used as a timestamp.

wait

logical - If TRUE the client will wait to send all tracked metadata to the server before making the assignment. This makes the call synchronous.

...

Other arguments passed on to the ggsave function in case of logging a ggplot2 object.

Value

None

Author(s)

Authors:

See Also

Useful links:

Examples

## Not run: 
# We are using api token for an anonymous user neptuner. For your projects use your private token.
run <- neptune_init(api_token = 'ANONYMOUS',
                    project = "common-r/quickstarts")
neptune_log(run['loss'], 0.1)

## End(Not run)

neptune documentation built on April 13, 2022, 5:14 p.m.