Skip to content

Commit

Permalink
Updated Experiment documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yaricom committed Oct 10, 2023
1 parent f67ac98 commit 5de2419
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
22 changes: 22 additions & 0 deletions R/experiment.R
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,28 @@ Experiment <- R6::R6Class(

#' @description
#' Do not call this function directly. Use `create_experiment()` or `get_experiment()` instead.
#'
#' @param experiment_key The key of the `Experiment`.
#' @param experiment_url The URL of the `Experiment`.
#' @param api_key Comet API key (can also be specified using the `COMET_API_KEY`
#' parameter as an environment variable or in a comet config file).
#' @param keep_active If `TRUE`, automatically send Comet a status update every
#' few seconds until the experiment is stopped to mark the experiment as active on the
#' Comet web dashboard.
#' @param log_output If `TRUE`, all standard output will automatically be sent to
#' the Comet servers to display as message logs for the experiment. The output will still
#' be shown in the console as well.
#' @param log_error If `TRUE`, all output from 'stderr' (which includes errors,
#' warnings, and messages) will be redirected to the Comet servers to display as message
#' logs for the experiment. Note that unlike `auto_log_output`, if this option is on then
#' these messages will not be shown in the console and instead they will only be logged
#' to the Comet experiment. This option is set to `FALSE` by default because of this
#' behavior.
#' @param dynamic If `TRUE` the Experiment was created rather than retrieved.
#' @param workspace_name The workspace name (can also be specified using the `COMET_WORKSPACE`
#' parameter as an environment variable or in a comet config file).
#' @param project_name The project name (can also be specified using the `COMET_PROJECT_NAME`
#' parameter as an environment variable or in a comet config file).
initialize = function(experiment_key, experiment_url = NULL, api_key = NULL,
keep_active = FALSE, log_output = FALSE, log_error = FALSE,
dynamic = TRUE, workspace_name = NULL, project_name = NULL) {
Expand Down
35 changes: 35 additions & 0 deletions man/Experiment.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5de2419

Please sign in to comment.