get_experiment | R Documentation |
Get a previously created experiment on Comet's servers. The return value is an Experiment
object that can be used to modify or get information about the experiment.
get_experiment(
experiment_key,
api_key = NULL,
keep_active = FALSE,
log_output = FALSE,
log_error = FALSE,
log_code = FALSE,
log_system_details = FALSE,
log_git_info = FALSE
)
experiment_key |
Experiment key. |
api_key |
Comet API key (can also be specified using the |
keep_active |
if |
log_output |
If |
log_error |
If |
log_code |
If |
log_system_details |
If |
log_git_info |
If |
An Experiment
object.
## Not run:
library(cometr)
# Assuming you have COMET_API_KEY, COMET_WORKSPACE, COMET_PROJECT_NAME variables defined
exp <- get_experiment("SOME-EXPERIMENT-KEY")
exp$get_key()
exp$get_metadata()
exp$add_tags(c("test", "tag2"))
exp$get_tags()
exp$log_metric("metric1", 5)
exp$get_metric("metric1")
exp$get_metrics_summary()
exp$stop()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.