Learn R Programming

LogicForest (version 2.1.2)

pimp.mat.bin: Predictor Importance Matrix - Classification

Description

Internal function called in pimp.import to construct a binary/logical matrix of predictors used (columns) in each of the interactions of a sample (rows).

Usage

pimp.mat.bin(pimps.out, testdata)

Value

A list with:

pimp.names

Vector of predictor names.

pimp.datamat

Logical matrix of predictors used (columns) in each of the interactions of a sample (rows).

Arguments

pimps.out

R object containing vec.primes, tmp.mat, vec.pimpvars, and list.pimps.

testdata

Out-of-bag sample.

Author

Bethany J. Wolf wolfb@musc.edu

Details

NOTE: For regression models, pimp.mat.nonbin is used to accommodate complements of logic trees.

References

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")

See Also

pimp.import