Skip to content

Fold

run_inner_folds(X, y, covariates, inner_cv, edge_selection, results_directory, perm_run)

Run inner cross-validation over all folds and hyperparameter configurations.

Returns:

Name Type Description
cv_results DataFrame

Aggregated results from all inner folds.

stability_edges dict

Dictionary with 'positive' and 'negative' keys mapping to arrays of edge stability scores.