sub_loop: Complementary pairs subsampling loop

View source: R/utils.R

sub_loopR 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.


cbl documentation built on Dec. 28, 2022, 1:55 a.m.

Related to sub_loop in cbl...