This function executes one loop of the model quartet for a given pair of foreground variables and records any disconnections and/or (de)activations.
sub_loop(b, i, j, x, z_t, s, params, ...)Subsample index.
First foreground variable index.
Second foreground variable index.
Matrix of foreground variables.
Intersection of iteration-t known non-descendants for foreground
variables i and j.
Regression method. Current options are "lasso" or
"boost".
Optional list of parameters to use when s = "boost".
Extra parameters to be passed to the feature selection subroutine.