ssenetCV: M-fold cross-validation function for all methods

Description Usage Arguments

View source: R/predict.ssenet.R

Description

Estimate test error of elastic net panel

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
ssenetCV(
  Xlabeled,
  Xunlabeled,
  ylabeled,
  yunlabeled,
  alpha,
  lambda,
  folds,
  progressBar,
  family,
  filter,
  topranked,
  keepVar,
  useObsWeights,
  max.iter,
  perc.full,
  thr.conf
)

Arguments

alpha

= 1 (lasso), alpha = 0 (ridge), 0 < alpha < 1 (elastic net penalty)

lambda

= strength of elastic net penalty

folds

caret list specifying the indicies in the different folds

progressBar

a boolean that specifies whether a progress bar should be displayed or not

family

"binomial" or "multinomial"

filter

= "none" or "p.value"

topranked

= 50 (top number of features to select and build a classifier)

keepVar

- names of specific variable to keep in model

X

nxp matrix - training dataset

y

factor - response variable

weights

- observational weights; default to 1


singha53/ssenet documentation built on March 17, 2020, 4:41 a.m.