View source: R/build.interactions.R
| build.interactions | R Documentation |
Builds interactions found from logic forest fit
build.interactions(
fit,
test.data,
n_ints = NULL,
remove_negated = FALSE,
req_frequency = NULL
)
fit |
Fitted logic regression tree object containing outcome, model type, and logic tree information. |
test.data |
Any dataset that contains the variables to create the interactions |
n_ints |
Max number of interactions to build |
remove_negated |
Whether to build interactions that consist of only negated PIs (True/False) |
req_frequency |
Minimum frequency required to build interaction (0-1) |
This function creates the interactions in the data that are found via logic forest.
A dataframe containing the the input dataframe and the interactions built from logic forest.
Andrew Gothard andrew.gothard@osumc.edu
Wolf BJ, Hill EG, Slate EH. Logic Forest: an ensemble classifier for discovering logical combinations of binary markers. Bioinformatics. 2010;26(17):2183–2189. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/bioinformatics/btq354")}
logforest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.