set_monitor | R Documentation |
Set parameters that control the monitoring of resample estimation of model performance and of tuning parameter optimization.
set_monitor(object, ...)
## S3 method for class 'MLControl'
set_monitor(object, progress = TRUE, verbose = FALSE, ...)
## S3 method for class 'MLOptimization'
set_monitor(object, progress = FALSE, verbose = FALSE, ...)
## S3 method for class 'ModelSpecification'
set_monitor(object, which = c("all", "control", "optim"), ...)
object |
resampling control, tuning parameter optimization, or model specification object. |
... |
arguments passed from the |
progress |
logical indicating whether to display iterative progress during resampling or optimization. In the case of resampling, a progress bar will be displayed if a computing cluster is not registered or is registered with the doSNOW package. |
verbose |
numeric or logical value specifying the level of progress
detail to print, with 0 ( |
which |
character string specifying the monitoring parameters to set as
|
Argument object
updated with the supplied parameters.
resample
, set_optim
,
set_predict
, set_strata
CVControl() %>% set_monitor(verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.