sub_loop {cbl}R Documentation

Complementary pairs subsampling loop

Description

This function executes one loop of the model quartet for a given pair of foreground variables and records any disconnections and/or (de)activations.

Usage

sub_loop(b, i, j, x, z_t, s, params, ...)

Arguments

b

Subsample index.

i

First foreground variable index.

j

Second foreground variable index.

x

Matrix of foreground variables.

z_t

Intersection of iteration-t known non-descendants for foreground variables i and j.

s

Regression method. Current options are "lasso" or "boost".

params

Optional list of parameters to use when s = "boost".

...

Extra parameters to be passed to the feature selection subroutine.


[Package cbl version 0.1.3 Index]