getVar | R Documentation |
Obtain the min, mid, or max number of variables for an object generated from the rdCVnet() function.
getVar(
rdCVnetObject,
option = c("quantile", "fitness"),
fit_curve = c("loess", "gam"),
span = 1,
k = 5,
outlier = c("none", "IQR", "residual"),
robust = 0.05,
quantile = 0.25
)
rdCVnetObject |
an object obtained from the rdCVnet() function |
option |
quantile or fitness: which way to perform variable selection |
fit_curve |
gam or loess method for fitting the curve in the fitness option |
span |
parameter for using loess to fit curve in the fitness option: how smooth the curve needs to be |
k |
parameter for using gam to fit curve in the fitness option |
outlier |
if remove outlier variables or not. There are 3 options: "none","IRQ", "residual" |
robust |
if the option is fitness, robust parameter decides how much deviation it is allowed from the optimal perdiction performance for min and max variabel selection |
quantile |
if the option is quantile, this value decides the cut for the first quantile, ranging from 0 to 0.5 |
a rdCVnet object
data("mosquito")
nRep <- 2
nOuter <- 4
varRatio <-0.6
classModel <- MUVR2_EN(X = Xotu,
Y = Yotu,
nRep = nRep,
nOuter = nOuter,
DA = TRUE,
modReturn = TRUE)
classModel<-getVar(classModel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.