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