Description Usage Arguments Value
View source: R/CalcOneAucVal.R
Runs a K-fold cross-validation with weighted bootstrap to approximate training/testing error from an annotated dataset
1 | CalcOneAucVal(test.df, n_val, stratify_val, nz1, nz0, nlp.model)
|
test.df |
Initial test df |
n_val |
Number of validation samples |
nz1 |
Number of z=1 in the weighted bootstrap sample |
nz0 |
Number of z=0 in the weighted bootstrap sample |
nlp.model |
The fitted model |
stratify_var |
Surrogate name in quo(.) |
Estimated value of validation AUC based on a single weighted bootstrap sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.