Learn R Programming

SQDA (version 1.0)

simpleAGG3: Blockwise classifiers

Description

Blockwise classifiers

Usage

simpleAGG3(data = NULL, data.new = NULL, len = 100, times = 100, lam = seq(0, 0.1, length = 10))

Arguments

data
data matrix with column names being the class labels and row names being the genes.
data.new
the new data needs to be predicted.
len
block size
times
number of blocks
lam
a sequence of lambda's from cross-validation.

Value

returns a list object with following items.
cv.error
cross-validation errors for each block
pred
predictions for class labels on the new dataset
lik
likelihood of each class on the new dataset