cross.validation | R Documentation |
k fold n times cross validation
cross.validation(
df = NULL,
label = NULL,
k = 5,
n = 100,
scale = TRUE,
type = "response",
seed = 1
)
df |
data.frame. Row is sample, col is gene |
label |
True label |
k |
Folds |
n |
Repeat times |
scale |
TRUE |
type |
"response" or "link" |
seed |
Default 1 |
cv.res <- loonR::cross.validation(miR.df[, cf.candidates],
group == "Cancer",
k = 10, n = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.