Skip to content

Inner Fold

run_inner_folds(cpm_model, X, y, covariates, inner_cv, edge_selection, results_directory, device, task_type)

Inner cross-validation over the edge-selection hyperparameter grid.

Returns the winning configuration per run, plus the per-edge selection stability of that configuration (used for stable-edge selection).