Learn R Programming

neptune (version 0.1.2)

set_neptune_token: Set 'Neptune' API token

Description

It sets your 'Neptune' API token to the 'NEPTUNE_API_TOKEN' environment variable, so that 'Neptune' knows who are you. 'Neptune' is a lightweight experiment tracking tool, for more information see <https://neptune.ai/>.

Usage

set_neptune_token(token)

Arguments

token

string, your Neptune API token that you can copy from your Neptune account

See Also

Useful links:

Examples

Run this code
# NOT RUN {
# We are using api token for an anonymous user neptuner. For your projects use your private token.
set_neptune_token(token = 'ANONYMOUS')
init_neptune(project_name = 'shared/r-integration')

# Start logging
create_experiment(name = 'my first experiment')
log_metric('accuracy', 0.92)

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

Run the code above in your browser using DataLab