vboot.multnet: Internal bootstraping validation multinomial glmnet model

Description Usage Arguments

View source: R/parallel_vboot.R

Description

Validate glmnet logistic regression using bootstrap.

Usage

1
2
## S3 method for class 'multnet'
vboot(glmnet_fit, x, y, s, nfolds, B, cv_replicates, n_cores)

Arguments

glmnet_fit

Object from glmnet fit

x

A matrix of the predictors, each row is an observation vector.

y

A vector of response variable. Should be a factor with two levels

s

Value of the penalty parameter "lambda" selected from the original 'cv.glmnet'

nfolds

Number of folds for cross validation as in cv.glmnet

B

Number of bootsrap samples

cv_replicates

Number of replicates for the cross-validation step in 'cv.glmnet'

n_cores

number of cores to use in parallel. Default detectCores()-1


Ancamar/bootValidation documentation built on Feb. 4, 2018, 1:14 p.m.