getBestRsList: Get list of best rule sets of size K for all K

Description Usage Arguments Examples

Description

Get list of best rule sets of size K for all K

Usage

1
getBestRsList(rm, tpl, til)

Arguments

rm

binary rule matrix

tpl

list of top performances

til

list of top rule set index matrices

Examples

1
2
3
4
5
6
7
8
9
library(crso)
data(skcm)
list2env(skcm.list,envir=globalenv())
Q <- log10(P)
rm.full <- buildRuleLibrary(D,rule.thresh = 0.05) # Rule library matrix, dimension: 60 x 71
til.p2 <- makePhaseTwoImList(D,Q,rm.full,k.max = 3,pool.sizes=c(60,20,20),
          max.stored=100,shouldPrint = FALSE)
tpl.p2 <- evaluateListOfIMs(D,Q,rm.full,til.p2)
best.rs.list <- getBestRsList(rm = rm.full,tpl = tpl.p2,til = til.p2)

crso documentation built on July 7, 2019, 5:02 p.m.