ValidateModel: ValidateModel

Description Usage Arguments Value

View source: R/ValidateModel.R

Description

Makes a sample enriched for cases using ideas from surrogate guided sampling strategy

Usage

1
ValidateModel(est.coef, val.df, feat = "X", surr = "Z", Y = "Y")

Arguments

val.df

Data frame containing training data

Y

Column name of the binary outcome

train.model

The trained model object

Value

A list of eta: vector of linear predictions auc_val: Estimated validation AUC


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