Learn R Programming

neptune (version 0.1.2)

create_experiment: Create 'Neptune' experiment

Description

It create a 'Neptune' experiment to which you can log hyperparameters, metrics, images, or other artifacts. 'Neptune' is a lightweight experiment tracking tool, for more information see <https://neptune.ai/>.

Usage

create_experiment(name = "default",
                  params = reticulate::dict(),
                  tags =  c(),
                  upload_source_files = c()
)

Arguments

name

string, a name of Neptune experiment, by default set to 'default'

params

list (or reticulate::dict), named list of name-value pairs. Used to define experiment parameters

tags

tags, array of tags used to organize experiments. Good examples are 'preprocessing-v1' or 'resnet50'

upload_source_files

list of file patterns, array of filepaths and file patterns that you would like to upload to Neptune. Good examples are 'train_model.r' or '*/**.r'

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.
init_neptune(api_token = 'ANONYMOUS',
             project_name = 'shared/r-integration')

# Start logging
create_experiment(name = 'my-first-experiment',
                  params = list(metric='Accuracy', model='rf', 'cvFolds'=2)
)
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