| screen_predictors | R Documentation |
Association between two columns is the largest absolute Pearson correlation between any of their screening signals (values, missingness indicators, level dummies). Screening runs once, on the original table.
screen_predictors(
raw,
roles,
targets,
keep = 100,
lock_threshold = 0.95,
block_cells = 2e+07
)
raw |
Character data.frame of all candidate columns. |
roles |
Roles of |
targets |
Indices of target columns. |
keep |
Candidates kept per target, best first (truncated to
|
lock_threshold |
Score at or above which two targets form a lock pair. |
block_cells |
Size budget (in matrix cells) of one block. |
Memory use is bounded for very wide tables: the column x column score is
computed in blocks of columns and only each target's keep best
candidates and the near-deterministic pairs are retained, never the full
matrix (a 9,000-column sheet would need about 0.7 GB for it).
List, for each target, the indices of its candidate predictor
columns, best first; attribute lock_pairs is a two-column matrix of
target index pairs with score >= lock_threshold.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.