pimp.mat.bin: Predictor Importance Matrix - Classification

View source: R/pimp.mat.bin.R

pimp.mat.binR Documentation

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)

Arguments

pimps.out

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

testdata

Out-of-bag sample.

Details

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

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

Author(s)

Bethany J. Wolf wolfb@musc.edu

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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/bioinformatics/btq354")}

See Also

pimp.import


LogicForest documentation built on Aug. 8, 2025, 7:46 p.m.