CalcOneAucVal: CalcOneAucVal

Description Usage Arguments Value

View source: R/CalcOneAucVal.R

Description

Runs a K-fold cross-validation with weighted bootstrap to approximate training/testing error from an annotated dataset

Usage

1
CalcOneAucVal(test.df, n_val, stratify_val, nz1, nz0, nlp.model)

Arguments

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

Value

Estimated value of validation AUC based on a single weighted bootstrap sample


wlktan/surrogateSampling documentation built on May 23, 2019, 3:07 p.m.