retrainLogit: Retrain logit after hyperparameter selection.

Description Usage Arguments

Description

Used for fitting the full training partition.

Usage

1
2
3
retrainLogit(data, formula, labelName, lambda = NULL, lasso = TRUE,
  predictors = NULL, needToRemove = NULL, createModelMatrix = FALSE,
  metric = c("prAUC", "rocAUC"), seed, verbose = TRUE)

Arguments

data

dataframe, rows are samples, cols are features plus some metadata not meant for modeling and will be removed

formula

char or formula object

labelName

char, column name of binary label

lambda

numberic, lambda value

lasso

logical, whether to use lasso regularization

predictors

char, names of columns in data that should be in logit fit data

needToRemove

char, names of columns in data that should not be in logit fit data

createModelMatrix

logical, call model.matrix

metric

char, see aucs

seed

int, seed for split

verbose

logical, True for print, False for silence


novasmedley/gbmSpm documentation built on May 17, 2019, 10:39 a.m.