Evaluate One ROI with rMVPA Cross-Validation Helpers
cv_evaluate_roi.RdPublic wrapper around rMVPA's internal ROI cross-validation helpers. This allows plugin authors to reuse standard fold execution without calling non-exported functions.
Arguments
- model_spec
A model specification object.
- roi_data
ROI payload as used by
fit_roi.- context
Context list (defaults to
mock_context()based onmodel_spec).- mode
One of
"auto","internal", or"external"."auto"chooses"external"whenhas_test_set(model_spec)is true, otherwise"internal".- return
One of
"roi_result"(default) or"row"."row"returns the raw tibble row produced by the CV helper.- ...
Additional arguments passed to the underlying CV helper.
Value
A roi_result by default, or a tibble row when
return = "row".