log_artifact: Log artifact to 'Neptune' experiment

Description Usage Arguments Author(s) See Also Examples

View source: R/neptune.R

Description

It logs artifact like model binary or some other file to 'Neptune' Experiment. 'Neptune' is a lightweight experiment tracking tool, for more information see <https://neptune.ai/>.

Usage

1
log_artifact(filename)

Arguments

filename

string, filename of the artifact that you want to log to Neptune

Author(s)

Authors:

See Also

Useful links:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
# We are using api token for an anonymous user neptuner. For your projects use your private token.
init_neptune(api_token = 'ANONYMOUS',
             project_name = 'shared/r-integration')

# Start logging
create_experiment(name = 'my first experiment')

file = tempfile()
x=1:10
save(x, file=file)
log_artifact(filename = file)

# Stop logging
stop_experiment()
# See an example experiment here https://ui.neptune.ai/o/shared/org/r-integration/e/RIN-56/logs

## End(Not run)

neptune documentation built on Jan. 13, 2021, 5:40 a.m.