These functions wrap common cross-validation functions from popular ML frameworks, adding automatic BORG validation. They block random CV when data dependencies are detected.
No return value. This page documents the family of guarded CV wrapper functions; see individual functions for their return values.
BORG provides guarded versions of:
borg_vfold_cv(): Wraps rsample::vfold_cv()
borg_group_vfold_cv(): Wraps rsample::group_vfold_cv()
borg_initial_split(): Wraps rsample::initial_split()
When dependencies are detected, these functions either:
Block the operation and suggest borg_cv() instead
Automatically switch to an appropriate blocked CV strategy