cv_voting | R Documentation |
survClust
fit, return consolidated labels across rounds of cross validation for a specific k
.
Note that cv.fit already has consolidated class labels across foldsFor a survClust
fit, return consolidated labels across rounds of cross validation for a specific k
.
Note that cv.fit already has consolidated class labels across folds
cv_voting(
cv.fit,
dat.dist,
pick_k,
cmd.k = NULL,
pick_k.test = TRUE,
minlabel.test = TRUE
)
cv.fit |
fit objects as returned from |
dat.dist |
weighted distance matrices from |
pick_k |
choice of k cluster to summarize over rounds of cross validation |
cmd.k |
number of dimensions used by |
pick_k.test |
logical, only selects cv.fit solutions where the resulting solution after consolidation contains |
minlabel.test |
logical, only selects cv.fit solutions where classes have a minimum of 5 samples. Default TRUE. Avoids edge cases, but in some cases FALSE might be desirable |
final.labels consolidated class labels over rounds of cross-validation
Arshi Arora
library(survClust)
k4 <- cv_voting(uvm_survClust_cv.fit, getDist(uvm_dat, uvm_survdat), pick_k = 4)
table(k4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.