G SVM models.

Share:

Description

Returns accuracy performance of all genes. G support vector machine (SVM) classifiers trained using G different data matrixes, are used to predict labels in test data. Models are ranked based on prediction performances.

Usage

1
Gsvmod(dat.train, lab.train, dat.test, lab.test)

Arguments

dat.train

Train data with G features and (k-1)*S/k samples. Parameter k comes from cross-validation scheme and is specified by user (default is 2).

lab.train

Class labels for train data.

dat.test

Test data with G features and S/k samples.

lab.test

Class labels for test data.

Value

Accuracy scores for models. Each model represents one gene.