supportVectorMachine: SVM classification panel

Description Usage Arguments

Description

build a SVM classification panel

Usage

1
2
supportVectorMachine(X, Y, X.test = NULL, Y.test = NULL,
  family = "binomial", filter = "p.value", topranked = 50)

Arguments

X

nxp matrix - training dataset

Y

categorical variables

X.test

nxp matrx - test dataset

family

"binomial" or "multinomial"

filter

= "none" or "p.value"

topranked

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

alpha

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

lambda

= strength of elastic net penalty


singha53/amritr documentation built on July 21, 2019, 3:46 p.m.