Description Usage Arguments Value
Makes a sample enriched for cases using ideas from surrogate guided sampling strategy
1 | TrainModel(train.df, Y = "Y", feat = "X", surr = "Z", model = "glm")
|
train.df |
Data frame containing training data |
Y |
Column name of the binary outcome |
model |
Whether to use a glm, lasso, or ridge model |
A list of coef: estimated betas n_cases: Number of cases in the training sample auc_train: Estimated training AUC train.model: The trained model object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.