cv.glm: Compute average AUC with cross-validation

Description Usage Arguments

Description

Repeats random split, fits GLM model on train dataset and computes AUC on test dataset and calculates average AUC In further releases will be replaced with more efficient cross-validation techniques

Usage

1
cv.glm(formula, data, target.var, n, fit.type = "glm", train.rate = 0.7)

Arguments

formula

formula to fit regression on

data

input data.frame

target.var

target variable name

n

number of repetitions

fit.type

Type of model to use (GLM or RandomForest)

train.rate

fraction of data to set as training (default=0.7)


konstantin-kotochigov/ML-UTILS documentation built on May 17, 2019, 7:30 p.m.