| borg_auto_check | R Documentation |
Configures BORG to automatically validate train/test splits when using supported ML frameworks. When enabled, BORG will intercept common modeling functions and validate indices before training proceeds.
borg_auto_check(enable = TRUE, strict = TRUE, verbose = FALSE)
enable |
Logical. If TRUE, enable auto-check mode. If FALSE, disable. |
strict |
Logical. If TRUE, throw errors on violations. If FALSE, warn. |
verbose |
Logical. If TRUE, print diagnostic messages. |
Invisibly returns the previous state of auto-check options.
# Enable auto-checking with strict mode
borg_auto_check(TRUE)
# Disable auto-checking
borg_auto_check(FALSE)
# Enable with warnings instead of errors
borg_auto_check(TRUE, strict = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.